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 InputLocation
Field location.private Map<Object,
InputLocation> Field locations.Field notifiers.private InputLocation
Field notifiersLocation.private String
The name of the continuous integration system, e.g.private InputLocation
Field systemLocation.private String
URL for the continuous integration system used by the project if it has a web interface.private InputLocation
Field urlLocation. -
Constructor Summary
Constructors -
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.private InputLocation
getOtherLocation
(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.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.
-
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: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.
-
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.
-