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. -
Method Summary
Modifier and TypeMethodDescriptiongetLocation
(Object key) Gets the location of the specified field in 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.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.
-
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
-
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
-