org.apache.oozie.client
Interface CoordinatorAction


public interface CoordinatorAction

Bean that represents an Oozie application instance.


Nested Class Summary
static class CoordinatorAction.Status
          Defines the possible stati of an application instance.
 
Method Summary
 int getActionNumber()
          Return the action number
 String getConsoleUrl()
          Return the URL to the web console of the system executing the application instance.
 String getCreatedConf()
          Return the application instance ?? created configuration.
 Date getCreatedTime()
          Return the creation time for the application instance
 String getErrorCode()
          Return the error code of the application instance, if it ended in ERROR.
 String getErrorMessage()
          Return the error message of the application instance, if it ended in ERROR.
 String getExternalId()
           
 String getExternalStatus()
          Return the external status of the application instance.
 String getId()
          Return the application instance ID.
 String getJobId()
          Return the coordinator job ID.
 Date getLastModifiedTime()
          Return the last modified time
 String getMissingDependencies()
          Return the PULL-based (directory based) missing dependencies for the particular action
 Date getNominalTime()
          Return the nominal time for the application instance
 String getPushMissingDependencies()
          Return the PUSH-based (e.d HCatalog partition-based ) missing dependencies for the particular action
 String getRunConf()
          Return the run-time configuration
 CoordinatorAction.Status getStatus()
          Return the current status of the application instance.
 String getTrackerUri()
          Return the URL to programmatically track the status of the application instance.
 void setErrorCode(String errorCode)
           
 void setErrorMessage(String errorMessage)
           
 

Method Detail

getJobId

String getJobId()
Return the coordinator job ID.

Returns:
the coordinator job ID.

getId

String getId()
Return the application instance ID.

Returns:
the application instance ID.

getNominalTime

Date getNominalTime()
Return the nominal time for the application instance

Returns:
the nominal time for the application instance

getCreatedTime

Date getCreatedTime()
Return the creation time for the application instance

Returns:
the creation time for the application instance

getCreatedConf

String getCreatedConf()
Return the application instance ?? created configuration.

Returns:
the application instance configuration.

getLastModifiedTime

Date getLastModifiedTime()
Return the last modified time

Returns:
the last modified time

getActionNumber

int getActionNumber()
Return the action number

Returns:
the action number

getRunConf

String getRunConf()
Return the run-time configuration

Returns:
the run-time configuration

getStatus

CoordinatorAction.Status getStatus()
Return the current status of the application instance.

Returns:
the current status of the application instance.

getMissingDependencies

String getMissingDependencies()
Return the PULL-based (directory based) missing dependencies for the particular action

Returns:
the missing dependencies for the particular action

getPushMissingDependencies

String getPushMissingDependencies()
Return the PUSH-based (e.d HCatalog partition-based ) missing dependencies for the particular action

Returns:
the missing dependencies for the particular action

getExternalStatus

String getExternalStatus()
Return the external status of the application instance.

Returns:
the external status of the application instance.

getTrackerUri

String getTrackerUri()
Return the URL to programmatically track the status of the application instance.

Returns:
the URL to programmatically track the status of the application instance.

getConsoleUrl

String getConsoleUrl()
Return the URL to the web console of the system executing the application instance.

Returns:
the URL to the web console of the system executing the application instance.

getErrorCode

String getErrorCode()
Return the error code of the application instance, if it ended in ERROR.

Returns:
the error code of the application instance.

getErrorMessage

String getErrorMessage()
Return the error message of the application instance, if it ended in ERROR.

Returns:
the error message of the application instance.

setErrorCode

void setErrorCode(String errorCode)

setErrorMessage

void setErrorMessage(String errorMessage)

getExternalId

String getExternalId()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.