Package org.apache.maven.settings
Class RepositoryPolicy
java.lang.Object
org.apache.maven.settings.BaseObject
org.apache.maven.settings.RepositoryPolicy
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.settings.BaseObject
BaseObject.ChildrenTracking
-
Field Summary
Fields inherited from class org.apache.maven.settings.BaseObject
childrenTracking, delegate
-
Constructor Summary
ConstructorDescriptionRepositoryPolicy
(RepositoryPolicy delegate) RepositoryPolicy
(RepositoryPolicy delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
boolean
protected boolean
static List
<RepositoryPolicy> static List
<RepositoryPolicy> void
setChecksumPolicy
(String checksumPolicy) void
setEnabled
(boolean enabled) void
setUpdatePolicy
(String updatePolicy) Methods inherited from class org.apache.maven.settings.BaseObject
update
-
Constructor Details
-
RepositoryPolicy
public RepositoryPolicy() -
RepositoryPolicy
-
RepositoryPolicy
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getUpdatePolicy
-
setUpdatePolicy
-
getChecksumPolicy
-
setChecksumPolicy
-
replace
- Overrides:
replace
in classBaseObject
-
repositoryPolicyToApiV4
-
repositoryPolicyToApiV3
-