@Generated public class RepositoryPolicy extends BaseObject
BaseObject.ChildrenTrackingchildrenTracking, delegate| Constructor and Description |
|---|
RepositoryPolicy() |
RepositoryPolicy(RepositoryPolicy delegate) |
RepositoryPolicy(RepositoryPolicy delegate,
BaseObject parent) |
| Modifier and Type | Method and Description |
|---|---|
RepositoryPolicy |
clone() |
String |
getChecksumPolicy() |
RepositoryPolicy |
getDelegate() |
String |
getEnabled() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getUpdatePolicy() |
boolean |
isEnabled() |
protected boolean |
replace(Object oldDelegate,
Object newDelegate) |
static List<RepositoryPolicy> |
repositoryPolicyToApiV3(List<RepositoryPolicy> list) |
static List<RepositoryPolicy> |
repositoryPolicyToApiV4(List<RepositoryPolicy> list) |
void |
setChecksumPolicy(String checksumPolicy) |
void |
setEnabled(boolean enabled) |
void |
setEnabled(String enabled) |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setUpdatePolicy(String updatePolicy) |
updatepublic RepositoryPolicy()
public RepositoryPolicy(RepositoryPolicy delegate)
public RepositoryPolicy(RepositoryPolicy delegate, BaseObject parent)
public RepositoryPolicy clone()
public RepositoryPolicy getDelegate()
getDelegate in class BaseObjectpublic String getEnabled()
public void setEnabled(String enabled)
public String getUpdatePolicy()
public void setUpdatePolicy(String updatePolicy)
public String getChecksumPolicy()
public void setChecksumPolicy(String checksumPolicy)
public InputLocation getLocation(Object key)
InputLocationTrackerkey - The key of the field, must not be
null.null if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTrackerkey - The key of the field, must not be
null.location - The location of the field, may be
null.protected boolean replace(Object oldDelegate, Object newDelegate)
replace in class BaseObjectpublic static List<RepositoryPolicy> repositoryPolicyToApiV4(List<RepositoryPolicy> list)
public static List<RepositoryPolicy> repositoryPolicyToApiV3(List<RepositoryPolicy> list)
public boolean isEnabled()
public void setEnabled(boolean enabled)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.