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:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNotifier
(Notifier notifier) Method addNotifier.clone()
Method clone.getLocation
(Object key) Gets the location of the specified field in the input source.Method getNotifiers.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.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
Set the name of the continuous integration system, e.g.void
Set uRL for the continuous integration system used by the project if it has a web interface.
-
Constructor Details
-
CiManagement
public CiManagement()
-
-
Method Details
-
addNotifier
Method addNotifier.- Parameters:
notifier
- a notifier object.
-
clone
Method clone. -
getLocation
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
-
getNotifiers
Method getNotifiers.- Returns:
- List
-
setLocation
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
- Parameters:
key
- a key object.location
- a location object.
-
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.
-