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
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder 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.BuilderCreates a newIssueManagementbuilder instance.static IssueManagement.BuildernewBuilder(boolean withDefaults) Creates a newIssueManagementbuilder instance using default values or not.static IssueManagement.BuildernewBuilder(IssueManagement from) Creates a newIssueManagementbuilder instance using the specified object as a basis.static IssueManagement.BuildernewBuilder(IssueManagement from, boolean forceCopy) Creates a newIssueManagementbuilder instance using the specified object as a basis.static IssueManagementCreates a newIssueManagementinstance.static IssueManagementnewInstance(boolean withDefaults) Creates a newIssueManagementinstance using default values or not.toString()with()Creates a new builder with this object as the basis.withSystem(String system) Creates a newIssueManagementinstance using the specified system.Creates a newIssueManagementinstance 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:
getLocationin interfaceInputLocationTracker
-
with
Creates a new builder with this object as the basis.- Returns:
- a
Builder
-
withSystem
Creates a newIssueManagementinstance using the specified system.- Parameters:
system- the newStringto use- Returns:
- a
IssueManagementwith the specified system
-
withUrl
Creates a newIssueManagementinstance using the specified url.- Parameters:
url- the newStringto use- Returns:
- a
IssueManagementwith the specified url
-
newInstance
Creates a newIssueManagementinstance. Equivalent tonewInstance(true).- Returns:
- a new
IssueManagement - See Also:
-
newInstance
Creates a newIssueManagementinstance 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 newIssueManagementbuilder instance. Equivalent tonewBuilder(true).- Returns:
- a new
Builder - See Also:
-
newBuilder
Creates a newIssueManagementbuilder instance using default values or not.- Parameters:
withDefaults- the boolean indicating whether default values should be used- Returns:
- a new
Builder
-
newBuilder
Creates a newIssueManagementbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
from- theIssueManagementinstance to use as a basis- Returns:
- a new
Builder
-
newBuilder
Creates a newIssueManagementbuilder instance using the specified object as a basis.- Parameters:
from- theIssueManagementinstance to use as a basisforceCopy- the boolean indicating if a copy should be forced- Returns:
- a new
Builder
-
toString
-