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:
  • Method Details

    • getSystem

      public String getSystem()
      The name of the issue management system, e.g. Bugzilla
      Returns:
      a String
    • getUrl

      public String getUrl()
      URL for the issue management system used by the project.
      Returns:
      a String
    • getLocation

      public InputLocation getLocation(Object key)
      Gets the location of the specified field in the input source.
      Specified by:
      getLocation in interface InputLocationTracker
    • with

      @Nonnull public IssueManagement.Builder with()
      Creates a new builder with this object as the basis.
      Returns:
      a Builder
    • withSystem

      @Nonnull public IssueManagement withSystem(String system)
      Creates a new IssueManagement instance using the specified system.
      Parameters:
      system - the new String to use
      Returns:
      a IssueManagement with the specified system
    • withUrl

      @Nonnull public IssueManagement withUrl(String url)
      Creates a new IssueManagement instance using the specified url.
      Parameters:
      url - the new String to use
      Returns:
      a IssueManagement with the specified url
    • newInstance

      @Nonnull public static IssueManagement newInstance()
      Creates a new IssueManagement instance. Equivalent to newInstance( true ).
      Returns:
      a new IssueManagement
      See Also:
    • newInstance

      @Nonnull public static IssueManagement newInstance(boolean withDefaults)
      Creates a new IssueManagement instance using default values or not. Equivalent to newBuilder( withDefaults ).build().
      Parameters:
      withDefaults - the boolean indicating whether default values should be used
      Returns:
      a new IssueManagement
    • newBuilder

      @Nonnull public static IssueManagement.Builder newBuilder()
      Creates a new IssueManagement builder instance. Equivalent to newBuilder( true ).
      Returns:
      a new Builder
      See Also:
    • newBuilder

      @Nonnull public static IssueManagement.Builder newBuilder(boolean withDefaults)
      Creates a new IssueManagement builder instance using default values or not.
      Parameters:
      withDefaults - the boolean indicating whether default values should be used
      Returns:
      a new Builder
    • newBuilder

      @Nonnull public static IssueManagement.Builder newBuilder(IssueManagement from)
      Creates a new IssueManagement builder instance using the specified object as a basis. Equivalent to newBuilder( from, false ).
      Parameters:
      from - the IssueManagement instance to use as a basis
      Returns:
      a new Builder
    • newBuilder

      @Nonnull public static IssueManagement.Builder newBuilder(IssueManagement from, boolean forceCopy)
      Creates a new IssueManagement builder instance using the specified object as a basis.
      Parameters:
      from - the IssueManagement instance to use as a basis
      forceCopy - the boolean indicating if a copy should be forced
      Returns:
      a new Builder