@Generated public class Extension extends BaseObject
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
Extension() |
Extension(Extension delegate) |
Extension(Extension delegate,
BaseObject parent) |
Modifier and Type | Method and Description |
---|---|
Extension |
clone() |
boolean |
equals(Object o) |
static List<Extension> |
extensionToApiV3(List<Extension> list) |
static List<Extension> |
extensionToApiV4(List<Extension> list) |
String |
getArtifactId() |
Extension |
getDelegate() |
String |
getGroupId() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getVersion() |
int |
hashCode() |
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 |
setVersion(String version) |
update
public Extension()
public Extension(Extension delegate)
public Extension(Extension delegate, BaseObject parent)
public Extension 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 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 boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.