Package org.apache.maven.model
Class CiManagement
- java.lang.Object
-
- org.apache.maven.model.CiManagement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,InputLocationTracker
public class CiManagement extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
The<CiManagement>element contains informations required to the continuous integration system of the project.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private InputLocationlocationField location.private java.util.Map<java.lang.Object,InputLocation>locationsField locations.private java.util.List<Notifier>notifiersField notifiers.private InputLocationnotifiersLocationField notifiersLocation.private java.lang.StringsystemThe name of the continuous integration system, e.g.private InputLocationsystemLocationField systemLocation.private java.lang.StringurlURL for the continuous integration system used by the project if it has a web interface.private InputLocationurlLocationField urlLocation.
-
Constructor Summary
Constructors Constructor Description CiManagement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNotifier(Notifier notifier)Method addNotifier.CiManagementclone()Method clone.InputLocationgetLocation(java.lang.Object key)Gets the location of the specified field in the input source.java.util.List<Notifier>getNotifiers()Method getNotifiers.private InputLocationgetOtherLocation(java.lang.Object key)java.lang.StringgetSystem()Get the name of the continuous integration system, e.g.java.lang.StringgetUrl()Get uRL for the continuous integration system used by the project if it has a web interface.voidremoveNotifier(Notifier notifier)Method removeNotifier.voidsetLocation(java.lang.Object key, InputLocation location)Sets the location of the specified field.voidsetNotifiers(java.util.List<Notifier> notifiers)Set configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.voidsetOtherLocation(java.lang.Object key, InputLocation location)voidsetSystem(java.lang.String system)Set the name of the continuous integration system, e.g.voidsetUrl(java.lang.String url)Set uRL for the continuous integration system used by the project if it has a web interface.
-
-
-
Field Detail
-
system
private java.lang.String system
The name of the continuous integration system, e.g.continuum.
-
url
private java.lang.String url
URL for the continuous integration system used by the project if it has a web interface.
-
notifiers
private java.util.List<Notifier> notifiers
Field notifiers.
-
locations
private java.util.Map<java.lang.Object,InputLocation> locations
Field locations.
-
location
private InputLocation location
Field location.
-
systemLocation
private InputLocation systemLocation
Field systemLocation.
-
urlLocation
private InputLocation urlLocation
Field urlLocation.
-
notifiersLocation
private InputLocation notifiersLocation
Field notifiersLocation.
-
-
Method Detail
-
addNotifier
public void addNotifier(Notifier notifier)
Method addNotifier.- Parameters:
notifier-
-
clone
public CiManagement clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- CiManagement
-
getLocation
public InputLocation getLocation(java.lang.Object key)
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Parameters:
key-- Returns:
- InputLocation
-
getNotifiers
public java.util.List<Notifier> getNotifiers()
Method getNotifiers.- Returns:
- List
-
setLocation
public void setLocation(java.lang.Object key, InputLocation location)Description copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
setLocationin interfaceInputLocationTracker- Parameters:
key-location-
-
setOtherLocation
public void setOtherLocation(java.lang.Object key, InputLocation location)- Parameters:
key-location-
-
getOtherLocation
private InputLocation getOtherLocation(java.lang.Object key)
- Parameters:
key-- Returns:
- InputLocation
-
getSystem
public java.lang.String getSystem()
Get the name of the continuous integration system, e.g.continuum.- Returns:
- String
-
getUrl
public java.lang.String getUrl()
Get uRL for the continuous integration system used by the project if it has a web interface.- Returns:
- String
-
removeNotifier
public void removeNotifier(Notifier notifier)
Method removeNotifier.- Parameters:
notifier-
-
setNotifiers
public void setNotifiers(java.util.List<Notifier> notifiers)
Set configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.- Parameters:
notifiers-
-
setSystem
public void setSystem(java.lang.String system)
Set the name of the continuous integration system, e.g.continuum.- Parameters:
system-
-
setUrl
public void setUrl(java.lang.String url)
Set uRL for the continuous integration system used by the project if it has a web interface.- Parameters:
url-
-
-