Package com.peterphi.carbon.type.mutable
Class CarbonProject
java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.type.mutable.CarbonProject
-
Field Summary
Fields inherited from class com.peterphi.carbon.type.XMLWrapper
element -
Constructor Summary
ConstructorsConstructorDescriptionCarbonProject(org.jdom2.Document doc) CarbonProject(org.jdom2.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDestination(CarbonDestination destination) Add the Destination, renaming the element to Module_# (where # is the next suitable module name in the destination list)voidaddSource(CarbonSource source) getUser()voidsetDescription(String value) voidsetJobName(String value) voidsetTaskType(String value) voidMethods inherited from class com.peterphi.carbon.type.XMLWrapper
getAttribute, getElement, getElement, setAttribute
-
Constructor Details
-
CarbonProject
public CarbonProject(org.jdom2.Document doc) -
CarbonProject
public CarbonProject(org.jdom2.Element element)
-
-
Method Details
-
addSource
-
getSources
-
addDestination
Add the Destination, renaming the element to Module_# (where # is the next suitable module name in the destination list)- Parameters:
destination-
-
getDestinations
-
getTaskType
-
setTaskType
-
getUser
-
setUser
-
getDescription
-
setDescription
-
getJobName
-
setJobName
-