TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.engine.runner.impl
Class SingleFileRunnerImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.tptp.platform.analysis.engine.impl.IAlgorithmRunnerImpl
                  extended byorg.eclipse.tptp.platform.analysis.engine.runner.impl.SingleFileRunnerImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.EObject, IAlgorithmRunner, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, SingleFileRunner

public class SingleFileRunnerImpl
extends IAlgorithmRunnerImpl
implements SingleFileRunner

An implementation of the model object 'Single Resource Runner'.

The following features are implemented:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  AbstractFilter resourceFilter
          The cached value of the 'Resource Filter' containment reference.
 
Fields inherited from class org.eclipse.tptp.platform.analysis.engine.impl.IAlgorithmRunnerImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected SingleFileRunnerImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetResourceFilter(AbstractFilter newResourceFilter, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 int estimateWork(IAnalysisScope scope, IAlgorithm[] algs, IEngine engine)
           Returns the number of units of work expected to be performed by this runner to execute enabled algorithms on the given analysis scope.
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 AbstractFilter getResourceFilter()
           
 void run(IEngine engine, IAlgorithm[] algorithms, org.eclipse.core.resources.IResource[] resources, IEngineListener listener)
           
 void setResourceFilter(AbstractFilter newResourceFilter)
           
 boolean supports(IAlgorithm algorithm)
           
 
Methods inherited from class org.eclipse.tptp.platform.analysis.engine.impl.IAlgorithmRunnerImpl
getName, setName, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.tptp.platform.analysis.engine.IAlgorithmRunner
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

resourceFilter

protected AbstractFilter resourceFilter
The cached value of the 'Resource Filter' containment reference.

See Also:
getResourceFilter()
Constructor Detail

SingleFileRunnerImpl

protected SingleFileRunnerImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class IAlgorithmRunnerImpl

getResourceFilter

public AbstractFilter getResourceFilter()

Specified by:
getResourceFilter in interface SingleFileRunner
Returns:
the value of the 'Resource Filter' containment reference.
See Also:
SingleFileRunner.setResourceFilter(AbstractFilter), RunnerPackage.getSingleFileRunner_ResourceFilter()

basicSetResourceFilter

public org.eclipse.emf.common.notify.NotificationChain basicSetResourceFilter(AbstractFilter newResourceFilter,
                                                                              org.eclipse.emf.common.notify.NotificationChain msgs)


setResourceFilter

public void setResourceFilter(AbstractFilter newResourceFilter)

Specified by:
setResourceFilter in interface SingleFileRunner
Parameters:
newResourceFilter - the new value of the 'Resource Filter' containment reference.
See Also:
SingleFileRunner.getResourceFilter()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class IAlgorithmRunnerImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class IAlgorithmRunnerImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class IAlgorithmRunnerImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class IAlgorithmRunnerImpl

run

public void run(IEngine engine,
                IAlgorithm[] algorithms,
                org.eclipse.core.resources.IResource[] resources,
                IEngineListener listener)
Description copied from interface: IAlgorithmRunner

Specified by:
run in interface IAlgorithmRunner
Overrides:
run in class IAlgorithmRunnerImpl

estimateWork

public int estimateWork(IAnalysisScope scope,
                        IAlgorithm[] algs,
                        IEngine engine)
Description copied from interface: IAlgorithmRunner
Returns the number of units of work expected to be performed by this runner to execute enabled algorithms on the given analysis scope.

Specified by:
estimateWork in interface IAlgorithmRunner
Overrides:
estimateWork in class IAlgorithmRunnerImpl

supports

public boolean supports(IAlgorithm algorithm)
Description copied from interface: IAlgorithmRunner

Specified by:
supports in interface IAlgorithmRunner
Overrides:
supports in class IAlgorithmRunnerImpl

TPTP 4.1.0 Platform Project
Public API Specification