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()
Gets the execution status of the program.
|
String |
getExecutionStatusMessage()
Gets the detailed message about the execution status.
|
Long |
getExecutionTime()
Gets the total execution time for the 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 manifest.sourceLocation
- The location of the program file: the repository or the workspace.repositoryId
- The unique identifier of the file, if the file exists in the repository.version
- The version of the file, if it is versioned.executionStatus
- The execution status of the program.executionTime
- The total execution for the program (in ms).executionStatusMessage
- The detailed message about the execution status.size
- The size (in bytes) of the file at the that time the manifest file was created.public 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