|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.plugins.JobReport
public class JobReport extends Object
A job report consists of values for all of the known, changed properties for a specific job resource. This typically represents changes in a specific time period (ie between the last poll and the current poll), but can also represent all known information concerning a resource (ie the first time poll is run).
For more information on reporting resources, see the Plugin Reporting section in the MWS documentation.Field Summary | |
---|---|
private String |
account
The job's account. |
private List |
allocatedNodeIds
The actual identifiers for the nodes allocated to the job. |
private String |
commandFile
The job's executable command file. |
private String |
commandLineArguments
The job's command line arguments. |
private Integer |
completionCode
The completion code of the job. |
private Date |
completionDate
The date that the job completed. |
private Long |
durationRequested
The requested duration that the job should run. |
private Date |
earliestStartDate
The job's earliest start date. |
private Map |
environmentVariables
The job's environment variables. |
private String |
extension
The job's RM extension string. |
private List |
flags
The job's flags. |
private String |
group
The job's group. |
private String |
id
The unique identifier for the job, this should be lower-case but will automatically be converted if it is not in setId(String). |
private String |
initialWorkingDirectory
The job's initial working directory. |
private Date |
latestCompletedDateRequested
The latest date that the job should be completed. |
private String |
name
The job's name. |
private List |
partitionAccessList
The job's partition access list. |
private String |
pluginId
The ID of the plugin which has generated the report. |
private String |
qos
The job's QOS. |
private String |
requiredImage
The required image for the job, this relates to the image name field in the MWS Image Catalog. |
private List |
requiredNodeIds
The job's required node's identifiers. |
private JobReportRequirementsList |
requirements
The job's requirements list. |
private String |
reservationRequestedId
The identifier of the reservation requested for the job. |
private ReportResourceMap |
resources
The job's resources information. |
private String |
standardErrorFilePath
The job's standard error file path. |
private String |
standardInputFilePath
The job's standard input file path. |
private String |
standardOutputFilePath
The job's standard output file path. |
private Date |
startDate
The job's actual start date. |
private JobReportState |
state
The job's current state. |
private Date |
submitDate
The date at which the job was submitted. |
private Long |
suspendDuration
The job's suspend duration. |
private Long |
systemPriority
The job's system priority. |
private Date |
timestamp
The date that the report was made or for which the report is current. |
private String |
user
The job's user. |
Constructor Summary | |
JobReport()
Creates a new, empty job report. |
|
JobReport(String id)
Creates a new job report for specified job. |
Method Summary | |
---|---|
String
|
getAccount()
@see #account |
List
|
getAllocatedNodeIds()
@see #allocatedNodeIds |
String
|
getCommandFile()
@see #commandFile |
String
|
getCommandLineArguments()
@see #commandLineArguments |
Integer
|
getCompletionCode()
@see #completionCode |
Date
|
getCompletionDate()
@see #completionDate |
Long
|
getDurationRequested()
@see #durationRequested |
Date
|
getEarliestStartDate()
@see #earliestStartDate |
Map
|
getEnvironmentVariables()
@see #environmentVariables |
String
|
getExtension()
@see #extension |
List
|
getFlags()
@see #flags |
String
|
getGroup()
@see #group |
String
|
getId()
@see #id |
String
|
getInitialWorkingDirectory()
@see #initialWorkingDirectory |
Date
|
getLatestCompletedDateRequested()
@see #latestCompletedDateRequested |
String
|
getName()
@see #name |
List
|
getPartitionAccessList()
@see #partitionAccessList |
String
|
getPluginId()
@see #pluginId |
String
|
getQos()
@see #qos |
String
|
getRequiredImage()
@see #requiredImage |
List
|
getRequiredNodeIds()
@see #requiredNodeIds |
JobReportRequirementsList
|
getRequirements()
Retrieves the job requirements. |
String
|
getReservationRequestedId()
@see #reservationRequestedId |
ReportResourceMap
|
getResources()
@see #resources |
String
|
getStandardErrorFilePath()
@see #standardErrorFilePath |
String
|
getStandardInputFilePath()
@see #standardInputFilePath |
String
|
getStandardOutputFilePath()
@see #standardOutputFilePath |
Date
|
getStartDate()
@see #startDate |
JobReportState
|
getState()
@see #state |
Date
|
getSubmitDate()
@see #submitDate |
Long
|
getSuspendDuration()
@see #suspendDuration |
Long
|
getSystemPriority()
@see #systemPriority |
Date
|
getTimestamp()
Retrieves the set timestamp for the report. |
String
|
getUser()
@see #user |
void
|
setAccount(String account)
@see #account |
void
|
setAllocatedNodeIds(List allocatedNodeIds)
@see #allocatedNodeIds |
void
|
setCommandFile(String commandFile)
@see #commandFile |
void
|
setCommandLineArguments(String commandLineArguments)
@see #commandLineArguments |
void
|
setCompletionCode(Integer completionCode)
@see #completionCode |
void
|
setCompletionDate(Date completionDate)
@see #completionDate |
void
|
setCompletionDate(String completionDate)
@see #completionDate |
void
|
setDurationRequested(Long durationRequested)
@see #durationRequested |
void
|
setEarliestStartDate(Date earliestStartDate)
@see #earliestStartDate |
void
|
setEarliestStartDate(String earliestStartDate)
@see #earliestStartDate |
void
|
setEnvironmentVariables(Map environmentVariables)
@see #environmentVariables |
void
|
setExtension(String extension)
@see #extension |
void
|
setFlags(List flags)
@see #flags |
void
|
setGroup(String group)
@see #group |
void
|
setId(String id)
Sets the unique identifier for the job. |
void
|
setInitialWorkingDirectory(String initialWorkingDirectory)
@see #initialWorkingDirectory |
void
|
setLatestCompletedDateRequested(Date latestCompletedDateRequested)
@see #latestCompletedDateRequested |
void
|
setLatestCompletedDateRequested(String latestCompletedDateRequested)
@see #latestCompletedDateRequested |
void
|
setName(String name)
@see #name |
void
|
setPartitionAccessList(List partitionAccessList)
@see #partitionAccessList |
void
|
setPluginId(String pluginId)
Sets the ID of the plugin which has generated the report. |
void
|
setQos(String qos)
@see #qos |
void
|
setRequiredImage(String requiredImage)
@see #requiredImage |
void
|
setRequiredNodeIds(List requiredNodeIds)
@see #requiredNodeIds |
void
|
setRequirements(JobReportRequirementsList requirements)
@see #requirements |
void
|
setReservationRequestedId(String reservationRequestedId)
@see #reservationRequestedId |
void
|
setResources(ReportResourceMap resources)
@see #resources |
void
|
setStandardErrorFilePath(String standardErrorFilePath)
@see #standardErrorFilePath |
void
|
setStandardInputFilePath(String standardInputFilePath)
@see #standardInputFilePath |
void
|
setStandardOutputFilePath(String standardOutputFilePath)
@see #standardOutputFilePath |
void
|
setStartDate(Date startDate)
@see #startDate |
void
|
setStartDate(String startDate)
@see #startDate |
void
|
setState(JobReportState state)
@see #state |
void
|
setState(String state)
Calls JobReportState.parse to set the state field. |
void
|
setSubmitDate(Date submitDate)
@see #submitDate |
void
|
setSubmitDate(String submitDate)
@see #submitDate |
void
|
setSuspendDuration(Long suspendDuration)
@see #suspendDuration |
void
|
setSystemPriority(Long systemPriority)
@see #systemPriority |
void
|
setTimestamp(Date timestamp)
@see #timestamp |
void
|
setTimestamp(String timestamp)
@see #timestamp |
void
|
setUser(String user)
@see #user |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String account
private List allocatedNodeIds
private String commandFile
private String commandLineArguments
private Integer completionCode
private Date completionDate
private Long durationRequested
private Date earliestStartDate
private Map environmentVariables
private String extension
private List flags
private String group
private String id
private String initialWorkingDirectory
private Date latestCompletedDateRequested
private String name
private List partitionAccessList
private String pluginId
private String qos
private String requiredImage
private List requiredNodeIds
private JobReportRequirementsList requirements
private String reservationRequestedId
private ReportResourceMap resources
private String standardErrorFilePath
private String standardInputFilePath
private String standardOutputFilePath
private Date startDate
private JobReportState state
private Date submitDate
private Long suspendDuration
private Long systemPriority
private Date timestamp
private String user
Constructor Detail |
---|
public JobReport()
public JobReport(String id)
id
- See setId
Method Detail |
---|
public String getAccount()
public List getAllocatedNodeIds()
public String getCommandFile()
public String getCommandLineArguments()
public Integer getCompletionCode()
public Date getCompletionDate()
public Long getDurationRequested()
public Date getEarliestStartDate()
public Map getEnvironmentVariables()
public String getExtension()
public List getFlags()
public String getGroup()
public String getId()
public String getInitialWorkingDirectory()
public Date getLatestCompletedDateRequested()
public String getName()
public List getPartitionAccessList()
public String getPluginId()
public String getQos()
public String getRequiredImage()
public List getRequiredNodeIds()
public JobReportRequirementsList getRequirements()
public String getReservationRequestedId()
public ReportResourceMap getResources()
public String getStandardErrorFilePath()
public String getStandardInputFilePath()
public String getStandardOutputFilePath()
public Date getStartDate()
public JobReportState getState()
public Date getSubmitDate()
public Long getSuspendDuration()
public Long getSystemPriority()
public Date getTimestamp()
public String getUser()
public void setAccount(String account)
public void setAllocatedNodeIds(List allocatedNodeIds)
public void setCommandFile(String commandFile)
public void setCommandLineArguments(String commandLineArguments)
public void setCompletionCode(Integer completionCode)
public void setCompletionDate(Date completionDate)
public void setCompletionDate(String completionDate)
public void setDurationRequested(Long durationRequested)
public void setEarliestStartDate(Date earliestStartDate)
public void setEarliestStartDate(String earliestStartDate)
public void setEnvironmentVariables(Map environmentVariables)
public void setExtension(String extension)
public void setFlags(List flags)
public void setGroup(String group)
public void setId(String id)
public void setInitialWorkingDirectory(String initialWorkingDirectory)
public void setLatestCompletedDateRequested(Date latestCompletedDateRequested)
public void setLatestCompletedDateRequested(String latestCompletedDateRequested)
public void setName(String name)
public void setPartitionAccessList(List partitionAccessList)
public void setPluginId(String pluginId)
public void setQos(String qos)
public void setRequiredImage(String requiredImage)
public void setRequiredNodeIds(List requiredNodeIds)
public void setRequirements(JobReportRequirementsList requirements)
public void setReservationRequestedId(String reservationRequestedId)
public void setResources(ReportResourceMap resources)
public void setStandardErrorFilePath(String standardErrorFilePath)
public void setStandardInputFilePath(String standardInputFilePath)
public void setStandardOutputFilePath(String standardOutputFilePath)
public void setStartDate(Date startDate)
public void setStartDate(String startDate)
public void setState(JobReportState state)
public void setState(String state)
public void setSubmitDate(Date submitDate)
public void setSubmitDate(String submitDate)
public void setSuspendDuration(Long suspendDuration)
public void setSystemPriority(Long systemPriority)
public void setTimestamp(Date timestamp)
public void setTimestamp(String timestamp)
public void setUser(String user)
Groovy Documentation