Enum Class IkeGoal
- All Implemented Interfaces:
Serializable, Comparable<IkeGoal>, Constable, GoalRef, network.ike.support.enums.ConstantBackedEnum
public enum IkeGoal
extends Enum<IkeGoal>
implements GoalRef, network.ike.support.enums.ConstantBackedEnum
Compile-time identity for every
ike:* goal in this plugin. Each
value wraps the bare goal name, the mojo class that implements it, and
a short human description. Draft/publish siblings expose each other
through pair().
Parallels network.ike.plugin.ws.WsGoal in the ws plugin.
Callers that invoke ike goals from Java — for subprocess exec, for
report identification, for javadoc examples that survive a rename —
should reference these enum values rather than string literals.
Implements ConstantBackedEnum: each constant is paired with
a public static final String NAME_* mirror, and class-load
verification keeps the two in lockstep. The mirror is a constant
expression, so the @Mojo(name = IkeGoal.NAME_*) annotation can
reference the enum as its single source of truth.
See issues #166 and #453.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionike:built-with— generate a Built With page from the SBOM and a curated supplement (#336).ike:cascade-export— export the release cascade topology for CI.ike:central-status— report async Maven Central deploy state (#484).ike:codesign-natives— sign macOS native binaries in a runtime image.ike:codesign-pkg— sign a.pkginstaller with Developer ID.ike:env— print runtime environment / terminal diagnostics.ike:generate-bom— generate the auto-managed BOM.ike:help— listike:*goals from the plugin descriptor.ike:inject-breadcrumb— inject breadcrumbs into rendered HTML.ike:inject-javadoc-theme— overlay the IKE green stylesheet on generated Javadoc apidocs.ike:jpackage-props— emit jpackage properties from reactor config.ike:knowledge-bindings— generate a knowledge set's bindings class.ike:knowledge-export— export a knowledge set's protobuf change set.ike:notarize— submit a.pkg/.appto Apple notary.ike:release-cascade— release the whole foundation cascade in order.ike:release-changelog— render a release changelog for CI notifications (#699).ike:release-draft— preview releasing the current project.ike:release-publish— release the current project (tag + publish).ike:rename— rename output files to a canonical pattern.ike:render-sbom-viewer— generate dependencies.adoc from the CycloneDX SBOM (#341).ike:render-spdx-licenses— generate licenses.adoc from the CycloneDX SBOM (#335).ike:scaffold-draft— preview ike-build-standards scaffold changes.ike:scaffold-publish— apply the scaffold to disk.ike:scaffold-revert— undo a previous scaffold-publish.ike:setup— one-time setup for an IKE development machine.ike:site-draft— report deployed-site drift (#398).ike:site-publish— apply deployed-site convergence (#398).ike:unpack-zip— unpack a zip artifact into a target directory.ike:verify-release-published— verify all post-release publication targets (#374). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMirror forBUILT_WITH.static final StringMirror forCASCADE_EXPORT.static final StringMirror forCENTRAL_STATUS.static final StringMirror forCODESIGN_NATIVES.static final StringMirror forCODESIGN_PKG.static final StringMirror forENV.static final StringMirror forGENERATE_BOM.static final StringMirror forHELP.static final StringMirror forINJECT_BREADCRUMB.static final StringMirror forINJECT_JAVADOC_THEME.static final StringMirror forJPACKAGE_PROPS.static final StringMirror forKNOWLEDGE_BINDINGS.static final StringMirror forKNOWLEDGE_EXPORT.static final StringMirror forNOTARIZE.static final StringMirror forRELEASE_CASCADE.static final StringMirror forRELEASE_CHANGELOG.static final StringMirror forRELEASE_DRAFT.static final StringMirror forRELEASE_PUBLISH.static final StringMirror forRENAME.static final StringMirror forRENDER_SBOM_VIEWER.static final StringMirror forRENDER_SPDX_LICENSES.static final StringMirror forSCAFFOLD_DRAFT.static final StringMirror forSCAFFOLD_PUBLISH.static final StringMirror forSCAFFOLD_REVERT.static final StringMirror forSETUP.static final StringMirror forSITE_DRAFT.static final StringMirror forSITE_PUBLISH.static final StringMirror forUNPACK_ZIP.static final StringMirror forVERIFY_RELEASE_PUBLISHED.static final StringSharedike:prefix for all goals in this plugin. -
Method Summary
Modifier and TypeMethodDescriptionLook up a goal by its bare name (e.g.One-line human description of what this goal does.goalName()The bare goal name as it appears in@Mojo(name = ...).booleanisDraft()True if this is the-draftcounterpart of a draft/publish pair.booleanTrue if this is the-publishcounterpart of a draft/publish pair.The String literal carried by this constant — the bare goal name.Class<? extends org.apache.maven.api.plugin.Mojo> The mojo class that implements this goal.pair()The paired draft/publish sibling, if this goal belongs to a pair.Theikeplugin prefix — shared by every goal in this enum.The fully-qualified goal invocation, e.g.static IkeGoalReturns the enum constant of this class with the specified name.static IkeGoal[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CASCADE_EXPORT
ike:cascade-export— export the release cascade topology for CI. -
CENTRAL_STATUS
ike:central-status— report async Maven Central deploy state (#484). -
CODESIGN_NATIVES
ike:codesign-natives— sign macOS native binaries in a runtime image. -
CODESIGN_PKG
ike:codesign-pkg— sign a.pkginstaller with Developer ID. -
ENV
ike:env— print runtime environment / terminal diagnostics. -
GENERATE_BOM
ike:generate-bom— generate the auto-managed BOM. -
HELP
ike:help— listike:*goals from the plugin descriptor. -
INJECT_BREADCRUMB
ike:inject-breadcrumb— inject breadcrumbs into rendered HTML. -
INJECT_JAVADOC_THEME
ike:inject-javadoc-theme— overlay the IKE green stylesheet on generated Javadoc apidocs. -
JPACKAGE_PROPS
ike:jpackage-props— emit jpackage properties from reactor config. -
KNOWLEDGE_BINDINGS
ike:knowledge-bindings— generate a knowledge set's bindings class. -
KNOWLEDGE_EXPORT
ike:knowledge-export— export a knowledge set's protobuf change set. -
NOTARIZE
ike:notarize— submit a.pkg/.appto Apple notary. -
RELEASE_DRAFT
ike:release-draft— preview releasing the current project. -
RELEASE_PUBLISH
ike:release-publish— release the current project (tag + publish). -
RELEASE_CASCADE
ike:release-cascade— release the whole foundation cascade in order. -
RELEASE_CHANGELOG
ike:release-changelog— render a release changelog for CI notifications (#699). -
RENAME
ike:rename— rename output files to a canonical pattern. -
BUILT_WITH
ike:built-with— generate a Built With page from the SBOM and a curated supplement (#336). -
RENDER_SBOM_VIEWER
ike:render-sbom-viewer— generate dependencies.adoc from the CycloneDX SBOM (#341). -
RENDER_SPDX_LICENSES
ike:render-spdx-licenses— generate licenses.adoc from the CycloneDX SBOM (#335). -
SCAFFOLD_DRAFT
ike:scaffold-draft— preview ike-build-standards scaffold changes. -
SCAFFOLD_PUBLISH
ike:scaffold-publish— apply the scaffold to disk. -
SCAFFOLD_REVERT
ike:scaffold-revert— undo a previous scaffold-publish. -
SITE_DRAFT
ike:site-draft— report deployed-site drift (#398). -
SITE_PUBLISH
ike:site-publish— apply deployed-site convergence (#398). -
SETUP
ike:setup— one-time setup for an IKE development machine. -
UNPACK_ZIP
ike:unpack-zip— unpack a zip artifact into a target directory. -
VERIFY_RELEASE_PUBLISHED
ike:verify-release-published— verify all post-release publication targets (#374).
-
-
Field Details
-
NAME_CASCADE_EXPORT
-
NAME_CENTRAL_STATUS
-
NAME_CODESIGN_NATIVES
-
NAME_CODESIGN_PKG
-
NAME_ENV
-
NAME_GENERATE_BOM
-
NAME_HELP
-
NAME_INJECT_BREADCRUMB
-
NAME_INJECT_JAVADOC_THEME
-
NAME_JPACKAGE_PROPS
-
NAME_KNOWLEDGE_BINDINGS
-
NAME_KNOWLEDGE_EXPORT
-
NAME_NOTARIZE
-
NAME_RELEASE_DRAFT
-
NAME_RELEASE_PUBLISH
-
NAME_RELEASE_CASCADE
-
NAME_RELEASE_CHANGELOG
-
NAME_RENAME
-
NAME_BUILT_WITH
-
NAME_RENDER_SBOM_VIEWER
-
NAME_RENDER_SPDX_LICENSES
-
NAME_SCAFFOLD_DRAFT
-
NAME_SCAFFOLD_PUBLISH
-
NAME_SCAFFOLD_REVERT
-
NAME_SITE_DRAFT
-
NAME_SITE_PUBLISH
-
NAME_SETUP
-
NAME_UNPACK_ZIP
-
NAME_VERIFY_RELEASE_PUBLISHED
Mirror forVERIFY_RELEASE_PUBLISHED.- See Also:
-
PLUGIN_PREFIX
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
goalName
-
literalName
The String literal carried by this constant — the bare goal name. SatisfiesConstantBackedEnum.- Specified by:
literalNamein interfacenetwork.ike.support.enums.ConstantBackedEnum- Returns:
- the bare goal name
-
pluginPrefix
Theikeplugin prefix — shared by every goal in this enum.- Specified by:
pluginPrefixin interfaceGoalRef- Returns:
PLUGIN_PREFIX
-
qualified
-
mojoClass
The mojo class that implements this goal.- Returns:
- the mojo class
-
description
One-line human description of what this goal does.- Specified by:
descriptionin interfaceGoalRef- Returns:
- the human description
-
isDraft
public boolean isDraft()True if this is the-draftcounterpart of a draft/publish pair.- Returns:
truewhen this goal is a draft variant
-
isPublish
public boolean isPublish()True if this is the-publishcounterpart of a draft/publish pair.- Returns:
truewhen this goal is a publish variant
-
pair
-
byName
-