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 InputLocation
location
Field location.private java.util.Map<java.lang.Object,InputLocation>
locations
Field locations.private java.util.List<Notifier>
notifiers
Field notifiers.private InputLocation
notifiersLocation
Field notifiersLocation.private java.lang.String
system
The name of the continuous integration system, e.g.private InputLocation
systemLocation
Field systemLocation.private java.lang.String
url
URL for the continuous integration system used by the project if it has a web interface.private InputLocation
urlLocation
Field urlLocation.
-
Constructor Summary
Constructors Constructor Description CiManagement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNotifier(Notifier notifier)
Method addNotifier.CiManagement
clone()
Method clone.InputLocation
getLocation(java.lang.Object key)
Gets the location of the specified field in the input source.java.util.List<Notifier>
getNotifiers()
Method getNotifiers.private InputLocation
getOtherLocation(java.lang.Object key)
java.lang.String
getSystem()
Get the name of the continuous integration system, e.g.java.lang.String
getUrl()
Get uRL for the continuous integration system used by the project if it has a web interface.void
removeNotifier(Notifier notifier)
Method removeNotifier.void
setLocation(java.lang.Object key, InputLocation location)
Sets the location of the specified field.void
setNotifiers(java.util.List<Notifier> notifiers)
Set configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.void
setOtherLocation(java.lang.Object key, InputLocation location)
void
setSystem(java.lang.String system)
Set the name of the continuous integration system, e.g.void
setUrl(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:
clone
in classjava.lang.Object
- Returns:
- CiManagement
-
getLocation
public InputLocation getLocation(java.lang.Object key)
Description copied from interface:InputLocationTracker
Gets the location of the specified field in the input source.- Specified by:
getLocation
in 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:InputLocationTracker
Sets the location of the specified field.- Specified by:
setLocation
in 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
-
-
-