org.jenkinsci.plugins.nexus.rest.schedules
クラス TaskUtil

java.lang.Object
  上位を拡張 org.jenkinsci.plugins.nexus.rest.schedules.TaskUtil

public class TaskUtil
extends Object

Utility class for searching Nexus scheduled task.

作成者:
Yosuke Kurami

コンストラクタの概要
TaskUtil(NexusClient client)
           
 
メソッドの概要
 List<org.sonatype.nexus.rest.model.ScheduledServiceListResource> fastFetchTasks(String name)
          Fetch list of tasks.
 List<org.sonatype.nexus.rest.model.ScheduledServiceListResource> fetchAll()
          Fetch all tasks, and refresh cache.
 org.sonatype.nexus.rest.model.ScheduledServiceListResource fetchTask(String id)
          Fetch one task whose id matches the argument.
 List<org.sonatype.nexus.rest.model.ScheduledServiceListResource> fetchTasks(String name)
          Fetch list of tasks using Nexus REST API.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

TaskUtil

public TaskUtil(NexusClient client)
メソッドの詳細

fetchTasks

public List<org.sonatype.nexus.rest.model.ScheduledServiceListResource> fetchTasks(String name)
Fetch list of tasks using Nexus REST API.

パラメータ:
name - Scheduled task's name.
戻り値:
list of tasks whose name matches the argument.

fastFetchTasks

public List<org.sonatype.nexus.rest.model.ScheduledServiceListResource> fastFetchTasks(String name)
Fetch list of tasks. If there is cache, this method uses it without executing REST API.

パラメータ:
name - Scheduled task's name.
戻り値:
list of tasks whose name matches the argument.

fetchAll

public List<org.sonatype.nexus.rest.model.ScheduledServiceListResource> fetchAll()
Fetch all tasks, and refresh cache.

戻り値:

fetchTask

public org.sonatype.nexus.rest.model.ScheduledServiceListResource fetchTask(String id)
Fetch one task whose id matches the argument.

パラメータ:
id -
戻り値:


Copyright © 2004-2012. All Rights Reserved.