Class LifecycleInformationDV
- java.lang.Object
-
- org.gcube.application.geoportalcommon.shared.geoportal.project.BasicLifecycleInformationDV
-
- org.gcube.application.geoportalcommon.shared.geoportal.project.LifecycleInformationDV
-
- All Implemented Interfaces:
Serializable
public class LifecycleInformationDV extends BasicLifecycleInformationDV
The Class LifecycleInformationDV.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Mar 21, 2022
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.gcube.application.geoportalcommon.shared.geoportal.project.BasicLifecycleInformationDV
BasicLifecycleInformationDV.Status
-
-
Field Summary
-
Fields inherited from class org.gcube.application.geoportalcommon.shared.geoportal.project.BasicLifecycleInformationDV
lastOperationStatus, phase
-
-
Constructor Summary
Constructors Constructor Description LifecycleInformationDV()Instantiates a new lifecycle information DV.LifecycleInformationDV(String lastInvokedStep, List<String> errorMessages, List<String> warningMessages, String asJSONString, String lastEvent)Instantiates a new lifecycle information DV.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAsJSONString()Gets the as JSON string.List<String>getErrorMessages()Gets the error messages.StringgetLastEvent()Gets the last event.StringgetLastInvokedStep()Gets the last invoked step.BasicLifecycleInformationDV.StatusgetLastOperationStatus()Gets the last operation status.StringgetPhase()Gets the phase.List<String>getWarningMessages()Gets the warning messages.voidsetAsJSONString(String json)Sets the as JSON string.voidsetErrorMessages(List<String> errorMessages)Sets the error messages.voidsetLastEvent(String lastEvent)Sets the last event.voidsetLastInvokedStep(String lastInvokedStep)Sets the last invoked step.voidsetLastOperationStatus(BasicLifecycleInformationDV.Status lastOperationStatus)Sets the last operation status.voidsetPhase(String phase)Sets the phase.voidsetWarningMessages(List<String> warningMessages)Sets the warning messages.StringtoString()To string.
-
-
-
Constructor Detail
-
LifecycleInformationDV
public LifecycleInformationDV()
Instantiates a new lifecycle information DV.
-
LifecycleInformationDV
public LifecycleInformationDV(String lastInvokedStep, List<String> errorMessages, List<String> warningMessages, String asJSONString, String lastEvent)
Instantiates a new lifecycle information DV.- Parameters:
lastInvokedStep- the last invoked steperrorMessages- the error messageswarningMessages- the warning messagesasJSONString- the as JSON stringlastEvent- the last event
-
-
Method Detail
-
getPhase
public String getPhase()
Gets the phase.- Overrides:
getPhasein classBasicLifecycleInformationDV- Returns:
- the phase
-
getLastInvokedStep
public String getLastInvokedStep()
Gets the last invoked step.- Returns:
- the last invoked step
-
getLastOperationStatus
public BasicLifecycleInformationDV.Status getLastOperationStatus()
Gets the last operation status.- Overrides:
getLastOperationStatusin classBasicLifecycleInformationDV- Returns:
- the last operation status
-
getErrorMessages
public List<String> getErrorMessages()
Gets the error messages.- Returns:
- the error messages
-
getWarningMessages
public List<String> getWarningMessages()
Gets the warning messages.- Returns:
- the warning messages
-
setPhase
public void setPhase(String phase)
Sets the phase.- Overrides:
setPhasein classBasicLifecycleInformationDV- Parameters:
phase- the new phase
-
setLastInvokedStep
public void setLastInvokedStep(String lastInvokedStep)
Sets the last invoked step.- Parameters:
lastInvokedStep- the new last invoked step
-
setLastOperationStatus
public void setLastOperationStatus(BasicLifecycleInformationDV.Status lastOperationStatus)
Sets the last operation status.- Overrides:
setLastOperationStatusin classBasicLifecycleInformationDV- Parameters:
lastOperationStatus- the new last operation status
-
setErrorMessages
public void setErrorMessages(List<String> errorMessages)
Sets the error messages.- Parameters:
errorMessages- the new error messages
-
setWarningMessages
public void setWarningMessages(List<String> warningMessages)
Sets the warning messages.- Parameters:
warningMessages- the new warning messages
-
setAsJSONString
public void setAsJSONString(String json)
Sets the as JSON string.- Parameters:
json- the new as JSON string
-
setLastEvent
public void setLastEvent(String lastEvent)
Sets the last event.- Parameters:
lastEvent- the new last event
-
getLastEvent
public String getLastEvent()
Gets the last event.- Returns:
- the last event
-
getAsJSONString
public String getAsJSONString()
Gets the as JSON string.- Returns:
- the as JSON string
-
toString
public String toString()
To string.- Overrides:
toStringin classBasicLifecycleInformationDV- Returns:
- the string
-
-