org.apache.oozie.client
Interface WorkflowJob


public interface WorkflowJob

Bean that represents a workflow job.


Nested Class Summary
static class WorkflowJob.Status
          Defines the possible stati of a workflow.
 
Method Summary
 String getAcl()
          Return the workflow job group.
 List<WorkflowAction> getActions()
          Return the workflow nodes that already executed and are executing.
 String getAppName()
          Return the name of the workflow application (from the workflow definition).
 String getAppPath()
          Return the path to the workflow application for the workflow job.
 String getConf()
          Return the job configuration.
 String getConsoleUrl()
          Return the workflow job console URL.
 Date getCreatedTime()
          Return the workflow job creation time.
 Date getEndTime()
          Return the workflow job end time.
 String getExternalId()
          Returns the external id for the workflow
 String getGroup()
          Deprecated. 
 String getId()
          Return the workflow job ID.
 Date getLastModifiedTime()
          Return the workflow job last modified time.
 String getParentId()
          Return the coordinator action ID.
 int getRun()
          Return the workflow job run number.
 Date getStartTime()
          Return the workflow job start time.
 WorkflowJob.Status getStatus()
          Return the workflow job status.
 String getUser()
          Return the workflow job user owner.
 

Method Detail

getAppPath

String getAppPath()
Return the path to the workflow application for the workflow job.

Returns:
the path to the workflow application for the workflow job.

getAppName

String getAppName()
Return the name of the workflow application (from the workflow definition).

Returns:
the name of the workflow application.

getId

String getId()
Return the workflow job ID.

Returns:
the workflow job ID.

getConf

String getConf()
Return the job configuration.

Returns:
the job configuration.

getStatus

WorkflowJob.Status getStatus()
Return the workflow job status.

Returns:
the workflow job status.

getLastModifiedTime

Date getLastModifiedTime()
Return the workflow job last modified time.

Returns:
the workflow job last modified time.

getCreatedTime

Date getCreatedTime()
Return the workflow job creation time.

Returns:
the workflow job creation time.

getStartTime

Date getStartTime()
Return the workflow job start time.

Returns:
the workflow job start time.

getEndTime

Date getEndTime()
Return the workflow job end time.

Returns:
the workflow job end time.

getUser

String getUser()
Return the workflow job user owner.

Returns:
the workflow job user owner.

getGroup

@Deprecated
String getGroup()
Deprecated. 

Return the workflow job group.

Use the getAcl() method instead.

Returns:
the workflow job group.

getAcl

String getAcl()
Return the workflow job group.

Returns:
the workflow job group.

getRun

int getRun()
Return the workflow job run number.

Except for reruns, this property is always 1.

Returns:
the workflow job run number.

getConsoleUrl

String getConsoleUrl()
Return the workflow job console URL.

Returns:
the workflow job console URL.

getParentId

String getParentId()
Return the coordinator action ID.

Returns:
the coordinator action ID.

getActions

List<WorkflowAction> getActions()
Return the workflow nodes that already executed and are executing.

Returns:
the workflow nodes that already executed and are executing.

getExternalId

String getExternalId()
Returns the external id for the workflow

Returns:
external id for the workflow


Copyright © 2013 Apache Software Foundation. All Rights Reserved.