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 Summary
Modifier and TypeClassDescriptionstatic class
Builder class used to create CiManagement instances. -
Method Summary
Modifier 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.Builder
Creates a newCiManagement
builder instance.static CiManagement.Builder
newBuilder
(boolean withDefaults) Creates a newCiManagement
builder instance using default values or not.static CiManagement.Builder
newBuilder
(CiManagement from) Creates a newCiManagement
builder instance using the specified object as a basis.static CiManagement.Builder
newBuilder
(CiManagement from, boolean forceCopy) Creates a newCiManagement
builder instance using the specified object as a basis.static CiManagement
Creates a newCiManagement
instance.static CiManagement
newInstance
(boolean withDefaults) Creates a newCiManagement
instance using default values or not.with()
Creates a new builder with this object as the basis.withNotifiers
(Collection<Notifier> notifiers) Creates a newCiManagement
instance using the specified notifiers.withSystem
(String system) Creates a newCiManagement
instance using the specified system.Creates a newCiManagement
instance using the specified url.
-
Method Details
-
getSystem
The name of the continuous integration system, e.g.continuum
.- Returns:
- a
String
-
getUrl
URL for the continuous integration system used by the project if it has a web interface.- Returns:
- a
String
-
getNotifiers
Configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.- Returns:
- a
List<Notifier>
-
getLocation
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
-
with
Creates a new builder with this object as the basis.- Returns:
- a
Builder
-
withSystem
Creates a newCiManagement
instance using the specified system.- Parameters:
system
- the newString
to use- Returns:
- a
CiManagement
with the specified system
-
withUrl
Creates a newCiManagement
instance using the specified url.- Parameters:
url
- the newString
to use- Returns:
- a
CiManagement
with the specified url
-
withNotifiers
Creates a newCiManagement
instance using the specified notifiers.- Parameters:
notifiers
- the newCollection<Notifier>
to use- Returns:
- a
CiManagement
with the specified notifiers
-
newInstance
Creates a newCiManagement
instance. Equivalent tonewInstance( true )
.- Returns:
- a new
CiManagement
- See Also:
-
newInstance
Creates a newCiManagement
instance using default values or not. Equivalent tonewBuilder( withDefaults ).build()
.- Parameters:
withDefaults
- the boolean indicating whether default values should be used- Returns:
- a new
CiManagement
-
newBuilder
Creates a newCiManagement
builder instance. Equivalent tonewBuilder( true )
.- Returns:
- a new
Builder
- See Also:
-
newBuilder
Creates a newCiManagement
builder instance using default values or not.- Parameters:
withDefaults
- the boolean indicating whether default values should be used- Returns:
- a new
Builder
-
newBuilder
Creates a newCiManagement
builder instance using the specified object as a basis. Equivalent tonewBuilder( from, false )
.- Parameters:
from
- theCiManagement
instance to use as a basis- Returns:
- a new
Builder
-
newBuilder
Creates a newCiManagement
builder instance using the specified object as a basis.- Parameters:
from
- theCiManagement
instance to use as a basisforceCopy
- the boolean indicating if a copy should be forced- Returns:
- a new
Builder
-