org.codehaus.gmaven.feature.support
Class FeatureSupport
java.lang.Object
org.codehaus.gmaven.feature.support.FeatureSupport
- All Implemented Interfaces:
- Feature
public abstract class FeatureSupport
- extends java.lang.Object
- implements Feature
Provides support for Feature implementations.
- Version:
- $Id: FeatureSupport.java 76 2009-12-05 12:04:30Z user57 $
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
log
protected final org.slf4j.Logger log
key
protected final java.lang.String key
config
protected final Configuration config
supported
protected final boolean supported
provider
protected Provider provider
FeatureSupport
protected FeatureSupport(java.lang.String key,
boolean supported)
FeatureSupport
protected FeatureSupport(java.lang.String key)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
key
public java.lang.String key()
- Specified by:
key in interface Feature
name
public java.lang.String name()
- Specified by:
name in interface Feature
supported
public boolean supported()
- Specified by:
supported in interface Feature
require
public void require()
- Specified by:
require in interface Feature
config
public Configuration config()
- Specified by:
config in interface Feature
create
public Component create(Configuration context)
throws java.lang.Exception
- Specified by:
create in interface Feature
- Throws:
java.lang.Exception
create
public Component create()
throws java.lang.Exception
- Specified by:
create in interface Feature
- Throws:
java.lang.Exception
doCreate
protected abstract Component doCreate()
throws java.lang.Exception
- Throws:
java.lang.Exception
provider
protected Provider provider()
asString
public static java.lang.String asString(Feature feature)
Copyright © 2006-2010 Codehaus. All Rights Reserved.