Class CarbonProject

java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.type.mutable.CarbonProject

public class CarbonProject extends XMLWrapper
  • Constructor Details

    • CarbonProject

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

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

    • addSource

      public void addSource(CarbonSource source)
    • getSources

      public List<CarbonSource> getSources()
    • addDestination

      public void addDestination(CarbonDestination destination)
      Add the Destination, renaming the element to Module_# (where # is the next suitable module name in the destination list)
      Parameters:
      destination -
    • getDestinations

      public List<CarbonDestination> getDestinations()
    • getTaskType

      public String getTaskType()
    • setTaskType

      public void setTaskType(String value)
    • getUser

      public String getUser()
    • setUser

      public void setUser(String value)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String value)
    • getJobName

      public String getJobName()
    • setJobName

      public void setJobName(String value)