Class AnyJobManager

java.lang.Object
eu.c6.gibraltar.api.common.AbstractManager
eu.c6.gibraltar.api.managers.jobs.AnyJobManager

public class AnyJobManager extends AbstractManager
The Class AnyMethodEventManager to manage method events in Any.
  • Constructor Details

    • AnyJobManager

      public AnyJobManager(AnySession anySession)
      Instantiates a new Any method event manager from user session.
      Parameters:
      anySession - the Any session
  • Method Details

    • getJobList

      public List<ICObject> getJobList() throws Exception
      Get job list
      Returns:
      list of jobs
      Throws:
      Exception - the exception
    • getJob

      public ICObject getJob(String jobName) throws Exception
      Get job information
      Parameters:
      jobName - name of the job
      Returns:
      job information
      Throws:
      Exception - the exception
    • getJobStatus

      public String getJobStatus(String jobName) throws Exception
      Get job status
      Parameters:
      jobName - name of the job
      Returns:
      job information
      Throws:
      Exception - the exception
    • execute

      public boolean execute(String jobName) throws Exception
      Execute the job
      Parameters:
      jobName - name of the job
      Returns:
      true if the job as started
      Throws:
      Exception - the exception
    • stop

      public boolean stop(String jobName) throws Exception
      Execute the job
      Parameters:
      jobName - name of the job
      Returns:
      job information
      Throws:
      Exception - the exception