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
ConstructorDescriptionCarbonProject
(org.jdom2.Document doc) CarbonProject
(org.jdom2.Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDestination
(CarbonDestination destination) Add the Destination, renaming the element to Module_# (where # is the next suitable module name in the destination list)void
addSource
(CarbonSource source) getUser()
void
setDescription
(String value) void
setJobName
(String value) void
setTaskType
(String value) void
Methods 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
-