Class CarbonReply

java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.type.immutable.CarbonReply

public class CarbonReply extends XMLWrapper
  • Constructor Details

    • CarbonReply

      public CarbonReply(org.jdom2.Document doc)
    • CarbonReply

      public CarbonReply(org.jdom2.Element element)
  • Method Details

    • isSuccess

      public boolean isSuccess()
    • getGUID

      public String getGUID()
    • getError

      public String getError()
    • getJobInfo

      public CarbonJobInfo getJobInfo()
    • getJobIdList

      public List<String> getJobIdList()
    • getJobList

      public List<CarbonJobInfo> getJobList()
      Return the jobs listed by this response
      N.B. this handles "JobStatusList" and "JobInfo" elements within the Reply
      Returns:
    • getProfileList

      public List<CarbonProfile> getProfileList()
      Return the list of profiles contained within the response
      Returns:
    • getJob

      public CarbonProject getJob()