Modifier and Type | Field and Description |
---|---|
private final String | |
private boolean | |
private String | |
private static final String |
Access | Constructor and Description |
---|---|
protected | VersionPropsPlugin(String
The name of the java.lang.VersionProps field to be redefined field, String The option name option)
|
protected | VersionPropsPlugin(String
The name of the java.lang.VersionProps field to be redefined field)Shorthand constructor for when the option name can be derived from the name of the field. |
Modifier and Type | Method and Description |
---|---|
public void | configure(Map<String, String>
The plugin configuration. config)Overrides default jdk. Configure the plugin based on the passed configuration. |
public Plugin. | |
public boolean | hasArguments()
Overrides default jdk. Has this plugin require one or more arguments? |
public boolean | |
private byte[] | |
public ResourcePool | transform(ResourcePool
Read only content. in, ResourcePoolBuilder The pool to fill with content. This pool must contain
the result of the visit. out)Implements jdk. Visit the content of the modules that are composing the image. |
field | back to summary |
---|---|
private final String field |
redefined | back to summary |
---|---|
private boolean redefined |
value | back to summary |
---|---|
private String value |
VERSION_PROPS_CLASS | back to summary |
---|---|
private static final String VERSION_PROPS_CLASS |
VersionPropsPlugin | back to summary |
---|---|
protected VersionPropsPlugin(String field, String option) |
VersionPropsPlugin | back to summary |
---|---|
protected VersionPropsPlugin(String field) Shorthand constructor for when the option name can be derived from the name of the field.
|
configure | back to summary |
---|---|
public void configure(Map<String, String> config) Overrides default jdk. Doc from jdk. Configure the plugin based on the passed configuration. This method is called prior to invoke the plugin. |
getType | back to summary |
---|---|
public Plugin. Overrides default jdk. Doc from jdk. The type of this plugin. |
hasArguments | back to summary |
---|---|
public boolean hasArguments() Overrides default jdk. Doc from jdk. Has this plugin require one or more arguments?
A plugin can have one or more optional arguments.
--plugin-option=arg_valueIf there are more than arguments, command line option looks like: --plugin-option=arg_value:arg2=value2:arg3=value3...
|
hasRawArgument | back to summary |
---|---|
public boolean hasRawArgument() Overrides default jdk.
|
redefine | back to summary |
---|---|
private byte[] redefine(String path, byte[] classFile)
|
transform | back to summary |
---|---|
public ResourcePool transform(ResourcePool in, ResourcePoolBuilder out) Implements jdk. Doc from jdk. Visit the content of the modules that are composing the image.
|