Package com.adobe.acs.commons.mcp.model
Class ManagedProcess
- java.lang.Object
-
- com.adobe.acs.commons.mcp.model.ManagedProcess
-
- All Implemented Interfaces:
Serializable
@ProviderType @Model(adaptables=org.apache.sling.api.resource.Resource.class, defaultInjectionStrategy=OPTIONAL) public class ManagedProcess extends Object implements SerializableModel bean for process instances.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()doublegetProgress()StringgetProgressPercent()intgetReportedErrors()Collection<ArchivedProcessFailure>getReportedErrorsList()StringgetRequester()org.apache.sling.api.resource.ValueMapgetRequestInputs()ResultgetResult()LonggetStartTime()StringgetStartTimeFormatted()StringgetStatus()LonggetStopTime()StringgetStopTimeFormatted()booleanisIsRunning()voidsetDescription(String description)voidsetIsRunning(boolean isRunning)voidsetName(String name)voidsetProgress(double progress)voidsetReportedErrors(List<ArchivedProcessFailure> reportedErrors)voidsetRequester(String requester)voidsetRequestInputs(org.apache.sling.api.resource.ValueMap requestInputs)voidsetResult(Result result)voidsetStartTime(Long startTime)voidsetStatus(String status)voidsetStopTime(Long stopTime)
-
-
-
Method Detail
-
getReportedErrors
public int getReportedErrors()
- Returns:
- the reportedErrors
-
getReportedErrorsList
public Collection<ArchivedProcessFailure> getReportedErrorsList()
- Returns:
- the reportedErrorsList
-
setReportedErrors
public void setReportedErrors(List<ArchivedProcessFailure> reportedErrors)
- Parameters:
reportedErrors- the reportedErrors to set
-
getRequester
public String getRequester()
- Returns:
- the requester
-
setRequester
public void setRequester(String requester)
- Parameters:
requester- the requester to set
-
getRequestInputs
public org.apache.sling.api.resource.ValueMap getRequestInputs()
- Returns:
- the requestInputs
-
setRequestInputs
public void setRequestInputs(org.apache.sling.api.resource.ValueMap requestInputs)
- Parameters:
requestInputs- the requestInputs to set
-
getStartTime
public Long getStartTime()
- Returns:
- the startTime
-
getStartTimeFormatted
public String getStartTimeFormatted()
-
setStartTime
public void setStartTime(Long startTime)
- Parameters:
startTime- the startTime to set
-
getStopTime
public Long getStopTime()
- Returns:
- the stopTime
-
getStopTimeFormatted
public String getStopTimeFormatted()
-
setStopTime
public void setStopTime(Long stopTime)
- Parameters:
stopTime- the stopTime to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
isIsRunning
public boolean isIsRunning()
- Returns:
- the isRunning
-
setIsRunning
public void setIsRunning(boolean isRunning)
- Parameters:
isRunning- the isRunning to set
-
getStatus
public String getStatus()
- Returns:
- the status
-
setStatus
public void setStatus(String status)
- Parameters:
status- the status to set
-
getResult
public Result getResult()
- Returns:
- the result
-
setResult
public void setResult(Result result)
- Parameters:
result- the result to set
-
getProgress
public double getProgress()
- Returns:
- the progress
-
getProgressPercent
public String getProgressPercent()
-
setProgress
public void setProgress(double progress)
- Parameters:
progress- the progress to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
-