Package org.apache.maven.api.model
Class CiManagement
java.lang.Object
org.apache.maven.api.model.CiManagement
- All Implemented Interfaces:
- Serializable,- InputLocationTracker
@Experimental
@Generated
@ThreadSafe
@Immutable
public class CiManagement
extends Object
implements Serializable, InputLocationTracker
The 
<ciManagement> element contains informations required to the
 continuous integration system of the project.- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create CiManagement instances.
- 
Method SummaryModifier and TypeMethodDescriptiongetLocation(Object key) Gets the location of the specified field in the input source.Configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.The name of the continuous integration system, e.g.getUrl()URL for the continuous integration system used by the project if it has a web interface.static CiManagement.BuilderCreates a newCiManagementbuilder instance.static CiManagement.BuildernewBuilder(boolean withDefaults) Creates a newCiManagementbuilder instance using default values or not.static CiManagement.BuildernewBuilder(CiManagement from) Creates a newCiManagementbuilder instance using the specified object as a basis.static CiManagement.BuildernewBuilder(CiManagement from, boolean forceCopy) Creates a newCiManagementbuilder instance using the specified object as a basis.static CiManagementCreates a newCiManagementinstance.static CiManagementnewInstance(boolean withDefaults) Creates a newCiManagementinstance using default values or not.with()Creates a new builder with this object as the basis.withNotifiers(Collection<Notifier> notifiers) Creates a newCiManagementinstance using the specified notifiers.withSystem(String system) Creates a newCiManagementinstance using the specified system.Creates a newCiManagementinstance using the specified url.
- 
Method Details- 
getSystemThe name of the continuous integration system, e.g.continuum.- Returns:
- a String
 
- 
getUrlURL for the continuous integration system used by the project if it has a web interface.- Returns:
- a String
 
- 
getNotifiersConfiguration for notifying developers/users when a build is unsuccessful, including user information and notification mode.- Returns:
- a List<Notifier>
 
- 
getLocationGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
 
- 
withCreates a new builder with this object as the basis.- Returns:
- a Builder
 
- 
withSystemCreates a newCiManagementinstance using the specified system.- Parameters:
- system- the new- Stringto use
- Returns:
- a CiManagementwith the specified system
 
- 
withUrlCreates a newCiManagementinstance using the specified url.- Parameters:
- url- the new- Stringto use
- Returns:
- a CiManagementwith the specified url
 
- 
withNotifiersCreates a newCiManagementinstance using the specified notifiers.- Parameters:
- notifiers- the new- Collection<Notifier>to use
- Returns:
- a CiManagementwith the specified notifiers
 
- 
newInstanceCreates a newCiManagementinstance. Equivalent tonewInstance( true ).- Returns:
- a new CiManagement
- See Also:
 
- 
newInstanceCreates a newCiManagementinstance using default values or not. Equivalent tonewBuilder( withDefaults ).build().- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new CiManagement
 
- 
newBuilderCreates a newCiManagementbuilder instance. Equivalent tonewBuilder( true ).- Returns:
- a new Builder
- See Also:
 
- 
newBuilderCreates a newCiManagementbuilder instance using default values or not.- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Builder
 
- 
newBuilderCreates a newCiManagementbuilder instance using the specified object as a basis. Equivalent tonewBuilder( from, false ).- Parameters:
- from- the- CiManagementinstance to use as a basis
- Returns:
- a new Builder
 
- 
newBuilderCreates a newCiManagementbuilder instance using the specified object as a basis.- Parameters:
- from- the- CiManagementinstance to use as a basis
- forceCopy- the boolean indicating if a copy should be forced
- Returns:
- a new Builder
 
 
-