Package org.apache.maven.model
Class CiManagement
java.lang.Object
org.apache.maven.model.CiManagement
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
The
<CiManagement> element contains
informations required to the
continuous integration system of the project.- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InputLocationField location.private Map<Object, InputLocation> Field locations.Field notifiers.private InputLocationField notifiersLocation.private StringThe name of the continuous integration system, e.g.private InputLocationField systemLocation.private StringURL for the continuous integration system used by the project if it has a web interface.private InputLocationField urlLocation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNotifier(Notifier notifier) Method addNotifier.clone()Method clone.getLocation(Object key) Gets the location of the specified field in the input source.Method getNotifiers.private InputLocationgetOtherLocation(Object key) Get the name of the continuous integration system, e.g.getUrl()Get uRL for the continuous integration system used by the project if it has a web interface.voidremoveNotifier(Notifier notifier) Method removeNotifier.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetNotifiers(List<Notifier> notifiers) Set configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.voidsetOtherLocation(Object key, InputLocation location) voidSet the name of the continuous integration system, e.g.voidSet uRL for the continuous integration system used by the project if it has a web interface.
-
Field Details
-
system
The name of the continuous integration system, e.g.continuum. -
url
URL for the continuous integration system used by the project if it has a web interface. -
notifiers
Field notifiers. -
locations
Field locations. -
location
Field location. -
systemLocation
Field systemLocation. -
urlLocation
Field urlLocation. -
notifiersLocation
Field notifiersLocation.
-
-
Constructor Details
-
CiManagement
public CiManagement()
-
-
Method Details
-
addNotifier
Method addNotifier.- Parameters:
notifier- a notifier object.
-
clone
Method clone. -
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Parameters:
key- a key object.- Returns:
- InputLocation
-
getNotifiers
Method getNotifiers.- Returns:
- List
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
setLocationin interfaceInputLocationTracker- Parameters:
key- a key object.location- a location object.
-
setOtherLocation
- Parameters:
key- a key object.location- a location object.
-
getOtherLocation
- Parameters:
key- a key object.- Returns:
- InputLocation
-
getSystem
Get the name of the continuous integration system, e.g.continuum.- Returns:
- String
-
getUrl
Get uRL for the continuous integration system used by the project if it has a web interface.- Returns:
- String
-
removeNotifier
Method removeNotifier.- Parameters:
notifier- a notifier object.
-
setNotifiers
Set configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.- Parameters:
notifiers- a notifiers object.
-
setSystem
Set the name of the continuous integration system, e.g.continuum.- Parameters:
system- a system object.
-
setUrl
Set uRL for the continuous integration system used by the project if it has a web interface.- Parameters:
url- a url object.
-