@Generated public class Relocation extends BaseObject
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
Relocation() |
Relocation(Relocation delegate) |
Relocation(Relocation delegate,
BaseObject parent) |
Modifier and Type | Method and Description |
---|---|
Relocation |
clone() |
String |
getArtifactId() |
Relocation |
getDelegate() |
String |
getGroupId() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getMessage() |
String |
getVersion() |
static List<Relocation> |
relocationToApiV3(List<Relocation> list) |
static List<Relocation> |
relocationToApiV4(List<Relocation> list) |
protected boolean |
replace(Object oldDelegate,
Object newDelegate) |
void |
setArtifactId(String artifactId) |
void |
setGroupId(String groupId) |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setMessage(String message) |
void |
setVersion(String version) |
update
public Relocation()
public Relocation(Relocation delegate)
public Relocation(Relocation delegate, BaseObject parent)
public Relocation clone()
public Relocation getDelegate()
getDelegate
in class BaseObject
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public String getVersion()
public void setVersion(String version)
public String getMessage()
public void setMessage(String message)
public InputLocation getLocation(Object key)
InputLocationTracker
key
- The key of the field, must not be
null
.null
if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTracker
key
- 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 BaseObject
public static List<Relocation> relocationToApiV4(List<Relocation> list)
public static List<Relocation> relocationToApiV3(List<Relocation> list)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.