Package org.apache.maven.model
Class CiManagement
- java.lang.Object
-
- org.apache.maven.model.CiManagement
-
- All Implemented Interfaces:
Serializable
,Cloneable
,InputLocationTracker
public class CiManagement extends Object implements Serializable, Cloneable, InputLocationTracker
The<CiManagement>
element contains informations required to the continuous integration system of the project.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
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(Object key)
Gets the location of the specified field in the input source.List<Notifier>
getNotifiers()
Method getNotifiers.String
getSystem()
Get the name of the continuous integration system, e.g.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(Object key, InputLocation location)
Sets the location of the specified field.void
setNotifiers(List<Notifier> notifiers)
Set configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.void
setOtherLocation(Object key, InputLocation location)
void
setSystem(String system)
Set the name of the continuous integration system, e.g.void
setUrl(String url)
Set uRL for the continuous integration system used by the project if it has a web interface.
-
-
-
Method Detail
-
addNotifier
public void addNotifier(Notifier notifier)
Method addNotifier.- Parameters:
notifier
- a notifier object.
-
clone
public CiManagement clone()
Method clone.
-
getLocation
public InputLocation getLocation(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
- a key object.- Returns:
- InputLocation
-
setLocation
public void setLocation(Object key, InputLocation location)
Description copied from interface:InputLocationTracker
Sets the location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Parameters:
key
- a key object.location
- a location object.
-
setOtherLocation
public void setOtherLocation(Object key, InputLocation location)
- Parameters:
key
- a key object.location
- a location object.
-
getSystem
public String getSystem()
Get the name of the continuous integration system, e.g.continuum
.- Returns:
- String
-
getUrl
public 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
- a notifier object.
-
setNotifiers
public void setNotifiers(List<Notifier> notifiers)
Set configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.- Parameters:
notifiers
- a notifiers object.
-
setSystem
public void setSystem(String system)
Set the name of the continuous integration system, e.g.continuum
.- Parameters:
system
- a system object.
-
setUrl
public void setUrl(String url)
Set uRL for the continuous integration system used by the project if it has a web interface.- Parameters:
url
- a url object.
-
-