public final class ManifestProgram extends ManifestFile
Modifier and Type | Class and Description |
---|---|
static class |
ManifestProgram.ExecutionStatus |
Constructor and Description |
---|
ManifestProgram(String path,
SourceLocation sourceLocation,
String repositoryId,
String version,
ManifestProgram.ExecutionStatus executionStatus,
Long executionTime,
String executionStatusMessage,
Long size)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ManifestProgram.ExecutionStatus |
getExecutionState()
Returns the execution status of the program.
|
String |
getExecutionStatusMessage()
Returns the detailed message about the execution status.
|
Long |
getExecutionTime()
Returns the total time of execution for this program (in ms).
|
int |
hashCode() |
String |
toString() |
getPath, getRepositoryId, getSize, getSourceLocation, getVersion
public ManifestProgram(String path, SourceLocation sourceLocation, String repositoryId, String version, ManifestProgram.ExecutionStatus executionStatus, Long executionTime, String executionStatusMessage, Long size)
path
- the path of the file in the manifestsourceLocation
- whether the program lives in the repository or workspacerepositoryId
- the unique id of the file if it exists in the repositoryversion
- the version of the file if it was versionedexecutionStatus
- the execution status of the programexecutionTime
- the total time of execution for this program (in ms)executionStatusMessage
- the detailed message about the execution statussize
- the size of the file at the time the manifest was generatedpublic String getExecutionStatusMessage()
public ManifestProgram.ExecutionStatus getExecutionState()
public Long getExecutionTime()
public int hashCode()
hashCode
in class ManifestFile
public boolean equals(Object obj)
equals
in class ManifestFile
public String toString()
toString
in class ManifestFile
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA