public interface EnforcerRuleHelper
extends org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator
Modifier and Type | Method and Description |
---|---|
<T> T |
getComponent(java.lang.Class<T> clazz)
Gets the component.
|
<T> T |
getComponent(java.lang.Class<T> clazz,
java.lang.String roleHint)
Gets the component.
|
java.lang.Object |
getComponent(java.lang.String componentKey)
Gets the component.
|
java.lang.Object |
getComponent(java.lang.String role,
java.lang.String roleHint)
Gets the component.
|
java.util.List<?> |
getComponentList(java.lang.String role)
Gets the component list.
|
java.util.Map<java.lang.String,?> |
getComponentMap(java.lang.String role)
Gets the component map.
|
org.codehaus.plexus.PlexusContainer |
getContainer()
Gets the container.
|
org.apache.maven.plugin.logging.Log |
getLog()
Gets the log.
|
@Nonnull org.apache.maven.plugin.logging.Log getLog()
@Nonnull <T> T getComponent(java.lang.Class<T> clazz) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
clazz
- the clazzorg.codehaus.plexus.component.repository.exception.ComponentLookupException
- the component lookup exception@Nonnull java.lang.Object getComponent(java.lang.String componentKey) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
componentKey
- the component keyorg.codehaus.plexus.component.repository.exception.ComponentLookupException
- the component lookup exceptionjava.lang.Object getComponent(java.lang.String role, java.lang.String roleHint) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
role
- the roleroleHint
- the role hintorg.codehaus.plexus.component.repository.exception.ComponentLookupException
- the component lookup exception<T> T getComponent(java.lang.Class<T> clazz, java.lang.String roleHint) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
clazz
- the clazzroleHint
- the role hintorg.codehaus.plexus.component.repository.exception.ComponentLookupException
- the component lookup exceptionjava.util.Map<java.lang.String,?> getComponentMap(java.lang.String role) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
role
- the roleorg.codehaus.plexus.component.repository.exception.ComponentLookupException
- the component lookup exceptionjava.util.List<?> getComponentList(java.lang.String role) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
role
- the roleorg.codehaus.plexus.component.repository.exception.ComponentLookupException
- the component lookup exceptionorg.codehaus.plexus.PlexusContainer getContainer()