Class 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:
    Serialized Form
    • Constructor Detail

      • ManagedProcess

        public ManagedProcess()
    • Method Detail

      • getReportedErrors

        public int getReportedErrors()
        Returns:
        the reportedErrors
      • 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