@Generated public class Profile extends ModelBase implements Serializable, Cloneable
BaseObject.ChildrenTracking
Modifier and Type | Field and Description |
---|---|
static String |
SOURCE_POM |
static String |
SOURCE_SETTINGS |
childrenTracking, delegate
Constructor and Description |
---|
Profile() |
Profile(Profile delegate) |
Profile(Profile delegate,
BaseObject parent) |
Modifier and Type | Method and Description |
---|---|
Profile |
clone() |
Activation |
getActivation() |
BuildBase |
getBuild() |
Profile |
getDelegate() |
String |
getId() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getSource() |
static List<Profile> |
profileToApiV3(List<Profile> list) |
static List<Profile> |
profileToApiV4(List<Profile> list) |
protected boolean |
replace(Object oldDelegate,
Object newDelegate) |
void |
setActivation(Activation activation) |
void |
setBuild(BuildBase build) |
void |
setId(String id) |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setSource(String source) |
String |
toString() |
addDependency, addModule, addPluginRepository, addRepository, getDependencies, getDependencyManagement, getDistributionManagement, getModules, getPluginRepositories, getProperties, getReporting, getRepositories, modelBaseToApiV3, modelBaseToApiV4, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setModules, setPluginRepositories, setProperties, setReporting, setRepositories
update
public static final String SOURCE_POM
public static final String SOURCE_SETTINGS
public Profile()
public Profile(Profile delegate)
public Profile(Profile delegate, BaseObject parent)
public Profile getDelegate()
getDelegate
in class ModelBase
public String getId()
public void setId(String id)
public Activation getActivation()
public void setActivation(Activation activation)
public BuildBase getBuild()
public void setBuild(BuildBase build)
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
getLocation
in class ModelBase
key
- The key of the field, must not be
null
.null
if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
setLocation
in class ModelBase
key
- The key of the field, must not be
null
.location
- The location of the field, may be
null
.public void setSource(String source)
public String getSource()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.