Class RepositoryPolicy

java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.RepositoryPolicy
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker

@Generated public class RepositoryPolicy extends BaseObject
See Also:
  • Constructor Details Link icon

  • Method Details Link icon

    • clone Link icon

      public RepositoryPolicy clone()
      Overrides:
      clone in class Object
    • getDelegate Link icon

      public RepositoryPolicy getDelegate()
      Overrides:
      getDelegate in class BaseObject
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getEnabled Link icon

      public String getEnabled()
    • setEnabled Link icon

      public void setEnabled(String enabled)
    • getUpdatePolicy Link icon

      public String getUpdatePolicy()
    • setUpdatePolicy Link icon

      public void setUpdatePolicy(String updatePolicy)
    • getChecksumPolicy Link icon

      public String getChecksumPolicy()
    • setChecksumPolicy Link icon

      public void setChecksumPolicy(String checksumPolicy)
    • getLocation Link icon

      public InputLocation getLocation(Object key)
      Description copied from interface: InputLocationTracker
      Gets the location of the specified field in the input source.
      Parameters:
      key - The key of the field, must not be null.
      Returns:
      The location of the field in the input source or null if unknown.
    • setLocation Link icon

      public void setLocation(Object key, InputLocation location)
      Description copied from interface: InputLocationTracker
      Sets the location of the specified field.
      Parameters:
      key - The key of the field, must not be null.
      location - The location of the field, may be null.
    • replace Link icon

      protected boolean replace(Object oldDelegate, Object newDelegate)
      Overrides:
      replace in class BaseObject
    • repositoryPolicyToApiV4 Link icon

      public static List<RepositoryPolicy> repositoryPolicyToApiV4(List<RepositoryPolicy> list)
    • repositoryPolicyToApiV3 Link icon

      public static List<RepositoryPolicy> repositoryPolicyToApiV3(List<RepositoryPolicy> list)
    • isEnabled Link icon

      public boolean isEnabled()
    • setEnabled Link icon

      public void setEnabled(boolean enabled)