public class StandardInstrument extends Object implements IAttributeSupport, IElementConfigurable
IInstrument.| Modifier and Type | Class and Description |
|---|---|
class |
StandardInstrument.Facade
The "public" portion of the Instrument implementation, which itself is
never leaked to client code.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_DEFAULT |
static String |
ACTION_FAIL |
static String |
ACTION_IGNORE |
static String |
ACTION_SKIP |
static boolean |
CHECK_VISIBILITY |
static String |
META_DEFINITION |
static String |
META_DIRECTORY |
| Constructor and Description |
|---|
StandardInstrument(StandardInstrumentRegistry registry,
IInstrumentStore store) |
public static final String META_DEFINITION
public static final String META_DIRECTORY
public static final boolean CHECK_VISIBILITY
public static final String ACTION_DEFAULT
public static final String ACTION_FAIL
public static final String ACTION_IGNORE
public static final String ACTION_SKIP
public StandardInstrument(StandardInstrumentRegistry registry, IInstrumentStore store)
public void configure(IElement element) throws ConfigurationException
configure in interface IElementConfigurableConfigurationExceptionpublic IExtension createExtension(String extensionPointId, String id)
public final Object getAttribute(Object key)
IAttributeSupportgetAttribute in interface IAttributeSupportkey - the name of the attribute to getkeypublic File getBaseDir()
public ClassLoader getClassLoader()
public String getDescription()
public IStringEvaluator getExpressionEvaluator()
public List<StandardExtension> getExtensions()
public IInstrument getFacade()
public String getId()
It is used for identifying uniquely a instrument within the
IInstrumentRegistry. Clients may lookup instruments with well
known names, for example the annotation handling instrument.
public String getIfdef()
public String getIfnotdef()
public StandardInstrumentRegistry getInstrumentRegistry()
public MessageBundle getMessageBundle()
public String getMessageBundleName()
public List<StandardInstrumentPrerequisite> getPrerequisites()
public File getProfileDir()
public IInstrumentStore getStore()
public File getTempDir()
public File getWorkingDir()
public void registerExtension(StandardExtension extension) throws InstrumentRegistryException
InstrumentRegistryExceptionpublic final Object removeAttribute(Object key)
IAttributeSupportremoveAttribute in interface IAttributeSupportkey - the name of the attribute to removekeypublic void removePrerequisite(IInstrument prerequisite)
public final Object setAttribute(Object key, Object value)
IAttributeSupportsetAttribute in interface IAttributeSupportkey - the name of the attribute to setvalue - the new value the attributekeypublic void setBaseDir(File baseDir)
public void setId(String name)
public void setIfdef(String ifdef)
public void setIfnotdef(String ifnotdef)
public void setMessageBundle(MessageBundle bundle)
public void setMessageBundleName(String bundleName)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.