Class SaharaJobExecution
- java.lang.Object
-
- org.openstack4j.openstack.sahara.domain.SaharaJobExecution
-
- All Implemented Interfaces:
Serializable,Buildable<JobExecutionBuilder>,ModelEntity,JobExecution
public class SaharaJobExecution extends Object implements JobExecution
For mapping JSON response to/from java objects- Author:
- ekasit.kijsipongse@nectec.or.th, siwat.pru@outlook.com
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSaharaJobExecution.concreteJobExecutionBuilderstatic classSaharaJobExecution.JobExecutions-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description SaharaJobExecution()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobExecutionBuilderbuilder()StringgetClusterId()DategetCreatedAt()DategetEndtime()StringgetId()JobExecutionInfogetInfo()StringgetInputId()JobConfiggetJobConfigs()StringgetJobId()StringgetJobIdForExecution()StringgetOozieJobId()StringgetOutputId()StringgetProgress()StringgetReturnCode()DategetStartTime()StringgetTenantId()DategetUpdatedAt()JobExecutionBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static JobExecutionBuilder builder()
- Returns:
- the job execution Builder
-
getJobIdForExecution
public String getJobIdForExecution()
- Specified by:
getJobIdForExecutionin interfaceJobExecution- Returns:
- the job identifier
-
getClusterId
public String getClusterId()
- Specified by:
getClusterIdin interfaceJobExecution- Returns:
- the cluster identifier
-
getInputId
public String getInputId()
- Specified by:
getInputIdin interfaceJobExecution- Returns:
- the input identifier
-
getOutputId
public String getOutputId()
- Specified by:
getOutputIdin interfaceJobExecution- Returns:
- the output identifier
-
getJobConfigs
public JobConfig getJobConfigs()
- Specified by:
getJobConfigsin interfaceJobExecution- Returns:
- the job configurations
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceJobExecution- Returns:
- the tenant id of the job execution
-
getStartTime
public Date getStartTime()
- Specified by:
getStartTimein interfaceJobExecution- Returns:
- start time of the job execution
-
getEndtime
public Date getEndtime()
- Specified by:
getEndtimein interfaceJobExecution- Returns:
- end time of the job execution
-
getCreatedAt
public Date getCreatedAt()
- Specified by:
getCreatedAtin interfaceJobExecution- Returns:
- create time of the job execution
-
getUpdatedAt
public Date getUpdatedAt()
- Specified by:
getUpdatedAtin interfaceJobExecution- Returns:
- update time of the job execution
-
getReturnCode
public String getReturnCode()
- Specified by:
getReturnCodein interfaceJobExecution- Returns:
- return code of the job execution
-
getOozieJobId
public String getOozieJobId()
- Specified by:
getOozieJobIdin interfaceJobExecution- Returns:
- the OOzie job identifier
-
getJobId
public String getJobId()
- Specified by:
getJobIdin interfaceJobExecution- Returns:
- the job identifier
-
getId
public String getId()
- Specified by:
getIdin interfaceJobExecution- Returns:
- the job execution identifier
-
getProgress
public String getProgress()
- Specified by:
getProgressin interfaceJobExecution- Returns:
- the progress of the job execution
-
getInfo
public JobExecutionInfo getInfo()
- Specified by:
getInfoin interfaceJobExecution- Returns:
- informations of the job executions
-
toBuilder
public JobExecutionBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<JobExecutionBuilder>
-
-