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 Serializable
Model bean for process instances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()doubleintorg.apache.sling.api.resource.ValueMapbooleanvoidsetDescription(String description) voidsetIsRunning(boolean isRunning) voidvoidsetProgress(double progress) voidsetReportedErrors(List<ArchivedProcessFailure> reportedErrors) voidsetRequester(String requester) voidsetRequestInputs(org.apache.sling.api.resource.ValueMap requestInputs) voidvoidsetStartTime(Long startTime) voidvoidsetStopTime(Long stopTime)
-
Constructor Details
-
ManagedProcess
public ManagedProcess()
-
-
Method Details
-
getReportedErrors
public int getReportedErrors()- Returns:
- the reportedErrors
-
getReportedErrorsList
- Returns:
- the reportedErrorsList
-
setReportedErrors
- Parameters:
reportedErrors- the reportedErrors to set
-
getRequester
- Returns:
- the requester
-
setRequester
- 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
- Returns:
- the startTime
-
getStartTimeFormatted
-
setStartTime
- Parameters:
startTime- the startTime to set
-
getStopTime
- Returns:
- the stopTime
-
getStopTimeFormatted
-
setStopTime
- Parameters:
stopTime- the stopTime to set
-
getDescription
- Returns:
- the description
-
setDescription
- 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
- Returns:
- the status
-
setStatus
- Parameters:
status- the status to set
-
getResult
- Returns:
- the result
-
setResult
- Parameters:
result- the result to set
-
getProgress
public double getProgress()- Returns:
- the progress
-
getProgressPercent
-
setProgress
public void setProgress(double progress) - Parameters:
progress- the progress to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-