Class EngineeringDeliverablesPackage.DeliverableStatus
java.lang.Object
neqsim.process.mechanicaldesign.EngineeringDeliverablesPackage.DeliverableStatus
- All Implemented Interfaces:
Serializable
- Enclosing class:
EngineeringDeliverablesPackage
public static class EngineeringDeliverablesPackage.DeliverableStatus
extends Object
implements Serializable
Status of a single deliverable generation.
- Version:
- 1.0
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate Stringprivate static final longprivate booleanprivate final StudyClass.DeliverableType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the generation duration in milliseconds.Get the status message.getType()Get the deliverable type.booleanCheck if generation was successful.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
-
success
private boolean success -
message
-
durationMs
private long durationMs
-
-
Constructor Details
-
DeliverableStatus
Constructor.- Parameters:
type- the deliverable type
-
-
Method Details
-
getType
-
isSuccess
public boolean isSuccess()Check if generation was successful.- Returns:
- true if successful
-
getMessage
-
getDurationMs
public long getDurationMs()Get the generation duration in milliseconds.- Returns:
- duration in ms
-