@Experimental @Generated @ThreadSafe @Immutable public class CiManagement extends Object implements Serializable, InputLocationTracker
<ciManagement>
element contains informations required to the
continuous integration system of the project.Modifier and Type | Class and Description |
---|---|
static class |
CiManagement.Builder
Builder class used to create CiManagement instances.
|
Modifier and Type | Method and Description |
---|---|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input source.
|
List<Notifier> |
getNotifiers()
Configuration for notifying developers/users when a build is unsuccessful,
including user information and notification mode.
|
String |
getSystem()
The name of the continuous integration system, e.g.
|
String |
getUrl()
URL for the continuous integration system used by the project if it has a web
interface.
|
static CiManagement.Builder |
newBuilder()
Creates a new
CiManagement builder instance. |
static CiManagement.Builder |
newBuilder(boolean withDefaults)
Creates a new
CiManagement builder instance using default values or not. |
static CiManagement.Builder |
newBuilder(CiManagement from)
Creates a new
CiManagement builder instance using the specified object as a basis. |
static CiManagement.Builder |
newBuilder(CiManagement from,
boolean forceCopy)
Creates a new
CiManagement builder instance using the specified object as a basis. |
static CiManagement |
newInstance()
Creates a new
CiManagement instance. |
static CiManagement |
newInstance(boolean withDefaults)
Creates a new
CiManagement instance using default values or not. |
CiManagement.Builder |
with()
Creates a new builder with this object as the basis.
|
CiManagement |
withNotifiers(Collection<Notifier> notifiers)
Creates a new
CiManagement instance using the specified notifiers. |
CiManagement |
withSystem(String system)
Creates a new
CiManagement instance using the specified system. |
CiManagement |
withUrl(String url)
Creates a new
CiManagement instance using the specified url. |
public String getSystem()
continuum
.String
public String getUrl()
String
@Nonnull public List<Notifier> getNotifiers()
List<Notifier>
public InputLocation getLocation(Object key)
getLocation
in interface InputLocationTracker
@Nonnull public CiManagement.Builder with()
Builder
@Nonnull public CiManagement withSystem(String system)
CiManagement
instance using the specified system.system
- the new String
to useCiManagement
with the specified system@Nonnull public CiManagement withUrl(String url)
CiManagement
instance using the specified url.url
- the new String
to useCiManagement
with the specified url@Nonnull public CiManagement withNotifiers(Collection<Notifier> notifiers)
CiManagement
instance using the specified notifiers.notifiers
- the new Collection<Notifier>
to useCiManagement
with the specified notifiers@Nonnull public static CiManagement newInstance()
CiManagement
instance.
Equivalent to newInstance( true )
.CiManagement
newInstance(boolean)
@Nonnull public static CiManagement newInstance(boolean withDefaults)
CiManagement
instance using default values or not.
Equivalent to newBuilder( withDefaults ).build()
.withDefaults
- the boolean indicating whether default values should be usedCiManagement
@Nonnull public static CiManagement.Builder newBuilder()
CiManagement
builder instance.
Equivalent to newBuilder( true )
.Builder
newBuilder(boolean)
@Nonnull public static CiManagement.Builder newBuilder(boolean withDefaults)
CiManagement
builder instance using default values or not.withDefaults
- the boolean indicating whether default values should be usedBuilder
@Nonnull public static CiManagement.Builder newBuilder(CiManagement from)
CiManagement
builder instance using the specified object as a basis.
Equivalent to newBuilder( from, false )
.from
- the CiManagement
instance to use as a basisBuilder
@Nonnull public static CiManagement.Builder newBuilder(CiManagement from, boolean forceCopy)
CiManagement
builder instance using the specified object as a basis.from
- the CiManagement
instance to use as a basisforceCopy
- the boolean indicating if a copy should be forcedBuilder
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.