@Generated public class Plugin extends ConfigurationContainer implements Serializable, Cloneable
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
Plugin() |
Plugin(Plugin delegate) |
Plugin(Plugin delegate,
BaseObject parent) |
configurationContainerToApiV3, configurationContainerToApiV4, getConfiguration, getInherited, isInherited, setConfiguration, setInherited
update
public Plugin()
public Plugin(Plugin delegate)
public Plugin(Plugin delegate, BaseObject parent)
public Plugin clone()
clone
in class ConfigurationContainer
public Plugin getDelegate()
getDelegate
in class ConfigurationContainer
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 getExtensions()
public void setExtensions(String extensions)
@Nonnull public List<PluginExecution> getExecutions()
public void setExecutions(List<PluginExecution> executions)
public void addExecution(PluginExecution execution)
public void removeExecution(PluginExecution execution)
@Nonnull public List<Dependency> getDependencies()
public void setDependencies(List<Dependency> dependencies)
public void addDependency(Dependency dependency)
public void removeDependency(Dependency dependency)
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
getLocation
in class ConfigurationContainer
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 ConfigurationContainer
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 ConfigurationContainer
public boolean isExtensions()
public void setExtensions(boolean extensions)
public void flushExecutionMap()
executionMap
field to null
public Map<String,PluginExecution> getExecutionsAsMap()
PluginExecution#getId()
as keyPluginExecution.getId()
public String getId()
<groupId>:<artifactId>:<version>
, never null
.public String getKey()
groupId:artifactId
public static String constructKey(String groupId, String artifactId)
groupId
- The group ID of the plugin in the repositoryartifactId
- The artifact ID of the reporting plugin in the repositorygroupId:artifactId
public boolean equals(Object other)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.