Class AbstractResourcePlugin.MetaClass
java.lang.Object
build.spin.module.java.AbstractResourcePlugin.MetaClass
- All Implemented Interfaces:
build.spin.Extension.MetaClass, build.spin.Plugin.MetaClass
- Direct Known Subclasses:
ResourcePlugin.MetaClass
- Enclosing class:
AbstractResourcePlugin
public abstract static class AbstractResourcePlugin.MetaClass
extends Object
implements build.spin.Plugin.MetaClass
An abstract
Plugin.MetaClass for resource plugins.
Activates when a matching compiler plugin is present and the resource directory exists.
- Since:
- Apr-2026
- Author:
- reed.vonredwitz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDetectedIn(build.spin.Project project) booleanisDetectedIn(Path path) protected abstract Class<? extends build.spin.Plugin> Returns thePluginclass whose presence is required for this resource plugin to activate.protected abstract StringReturns the resource directory path, relative to the project root (e.g.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface build.spin.Extension.MetaClass
getCommandLineClassesMethods inherited from interface build.spin.Plugin.MetaClass
getExtensionClass, scheme
-
Constructor Details
-
MetaClass
public MetaClass()
-
-
Method Details
-
pluginClass
Returns thePluginclass whose presence is required for this resource plugin to activate. -
resourceDirectory
Returns the resource directory path, relative to the project root (e.g."src/main/resources"). -
isDetectedIn
- Specified by:
isDetectedInin interfacebuild.spin.Plugin.MetaClass
-
isDetectedIn
public boolean isDetectedIn(build.spin.Project project) - Specified by:
isDetectedInin interfacebuild.spin.Plugin.MetaClass
-