Package org.apache.maven.api.model
Class IssueManagement
java.lang.Object
org.apache.maven.api.model.IssueManagement
- All Implemented Interfaces:
Serializable
,InputLocationTracker
@Experimental
@Generated
@ThreadSafe
@Immutable
public class IssueManagement
extends Object
implements Serializable, InputLocationTracker
Information about the issue tracking (or bug tracking) system used to manage this
project.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class used to create IssueManagement instances. -
Constructor Summary
ModifierConstructorDescriptionprotected
IssueManagement
(IssueManagement.Builder builder) Constructor for this class, to be called from its subclasses andIssueManagement.Builder
. -
Method Summary
Modifier and TypeMethodDescriptionGets the input location that caused this model to be read.getLocation
(Object key) Gets the location of the specified field in the input source.Gets the keys of the locations of the input source.The name of the issue management system, e.g.getUrl()
URL for the issue management system used by the project.static IssueManagement.Builder
Creates a newIssueManagement
builder instance.static IssueManagement.Builder
newBuilder
(boolean withDefaults) Creates a newIssueManagement
builder instance using default values or not.static IssueManagement.Builder
newBuilder
(IssueManagement from) Creates a newIssueManagement
builder instance using the specified object as a basis.static IssueManagement.Builder
newBuilder
(IssueManagement from, boolean forceCopy) Creates a newIssueManagement
builder instance using the specified object as a basis.static IssueManagement
Creates a newIssueManagement
instance.static IssueManagement
newInstance
(boolean withDefaults) Creates a newIssueManagement
instance using default values or not.toString()
with()
Creates a new builder with this object as the basis.withSystem
(String system) Creates a newIssueManagement
instance using the specified system.Creates a newIssueManagement
instance using the specified url.
-
Constructor Details
-
IssueManagement
Constructor for this class, to be called from its subclasses andIssueManagement.Builder
.- See Also:
-
-
Method Details
-
getSystem
The name of the issue management system, e.g. Bugzilla- Returns:
- a
String
-
getUrl
URL for the issue management system used by the project.- Returns:
- a
String
-
getLocation
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
-
getLocationKeys
Gets the keys of the locations of the input source. -
getLocationKeyStream
-
getImportedFrom
Gets the input location that caused this model to be read.- Specified by:
getImportedFrom
in interfaceInputLocationTracker
- Returns:
- InputLocation
-
with
Creates a new builder with this object as the basis.- Returns:
- a
Builder
-
withSystem
Creates a newIssueManagement
instance using the specified system.- Parameters:
system
- the newString
to use- Returns:
- a
IssueManagement
with the specified system
-
withUrl
Creates a newIssueManagement
instance using the specified url.- Parameters:
url
- the newString
to use- Returns:
- a
IssueManagement
with the specified url
-
newInstance
Creates a newIssueManagement
instance. Equivalent tonewInstance(true)
.- Returns:
- a new
IssueManagement
- See Also:
-
newInstance
Creates a newIssueManagement
instance using default values or not. Equivalent tonewBuilder(withDefaults).build()
.- Parameters:
withDefaults
- the boolean indicating whether default values should be used- Returns:
- a new
IssueManagement
-
newBuilder
Creates a newIssueManagement
builder instance. Equivalent tonewBuilder(true)
.- Returns:
- a new
Builder
- See Also:
-
newBuilder
Creates a newIssueManagement
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 newIssueManagement
builder instance using the specified object as a basis. Equivalent tonewBuilder(from, false)
.- Parameters:
from
- theIssueManagement
instance to use as a basis- Returns:
- a new
Builder
-
newBuilder
Creates a newIssueManagement
builder instance using the specified object as a basis.- Parameters:
from
- theIssueManagement
instance to use as a basisforceCopy
- the boolean indicating if a copy should be forced- Returns:
- a new
Builder
-
toString
-