public class FeatureApplication
extends java.lang.Object
implements ej.wadapps.application.Application
Feature
Modifier | Constructor and Description |
---|---|
protected |
FeatureApplication(ej.kf.Feature feature)
Creates an application for a feature.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ej.kf.Feature |
getFeature()
Gets the feature.
|
java.lang.String |
getIdentifier() |
java.lang.String |
getVersion() |
int |
hashCode() |
boolean |
isStarted() |
void |
start() |
void |
start(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
stop() |
void |
stop(org.eclipse.core.runtime.IProgressMonitor monitor) |
protected FeatureApplication(ej.kf.Feature feature)
feature
- the feature to wrap.public ej.kf.Feature getFeature()
public java.lang.String getIdentifier()
getIdentifier
in interface ej.wadapps.application.Application
public java.lang.String getVersion()
getVersion
in interface ej.wadapps.application.Application
public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void start() throws java.lang.IllegalStateException, java.lang.SecurityException, ej.wadapps.application.ApplicationOperationException
start
in interface ej.wadapps.application.Application
java.lang.IllegalStateException
java.lang.SecurityException
ej.wadapps.application.ApplicationOperationException
public void start(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.IllegalStateException, ej.wadapps.application.ApplicationOperationException
start
in interface ej.wadapps.application.Application
java.lang.IllegalStateException
ej.wadapps.application.ApplicationOperationException
public void stop() throws java.lang.IllegalStateException, ej.wadapps.application.ApplicationOperationException
stop
in interface ej.wadapps.application.Application
java.lang.IllegalStateException
ej.wadapps.application.ApplicationOperationException
public void stop(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.IllegalStateException, ej.wadapps.application.ApplicationOperationException
stop
in interface ej.wadapps.application.Application
java.lang.IllegalStateException
ej.wadapps.application.ApplicationOperationException
public boolean isStarted()
isStarted
in interface ej.wadapps.application.Application