@Generated public class Plugin extends ConfigurationContainer implements Serializable, Cloneable
BaseObject.ChildrenTrackingchildrenTracking, delegate| Constructor and Description |
|---|
Plugin() |
Plugin(Plugin delegate) |
Plugin(Plugin delegate,
BaseObject parent) |
configurationContainerToApiV3, configurationContainerToApiV4, getConfiguration, getInherited, isInherited, setConfiguration, setInheritedupdatepublic Plugin()
public Plugin(Plugin delegate)
public Plugin(Plugin delegate, BaseObject parent)
public Plugin clone()
clone in class ConfigurationContainerpublic Plugin getDelegate()
getDelegate in class ConfigurationContainerpublic 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)
InputLocationTrackergetLocation in interface InputLocationTrackergetLocation in class ConfigurationContainerkey - The key of the field, must not be
null.null if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackersetLocation in class ConfigurationContainerkey - 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 ConfigurationContainerpublic boolean isExtensions()
public void setExtensions(boolean extensions)
public void flushExecutionMap()
executionMap field to nullpublic Map<String,PluginExecution> getExecutionsAsMap()
PluginExecution#getId() as keyPluginExecution.getId()public String getId()
<groupId>:<artifactId>:<version>, never null.public String getKey()
groupId:artifactIdpublic 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:artifactIdpublic boolean equals(Object other)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.