org.eclipse.emf.emfstore.internal.client.ui.views.scm
Class FilteredOperationsResult

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.ui.views.scm.FilteredOperationsResult

public class FilteredOperationsResult
extends Object

Convenience class to separate operations that considered to be filtered from the rest of a given input.

Author:
emueller

Constructor Summary
FilteredOperationsResult()
          Constructor.
 
Method Summary
 void addFilteredOperation(AbstractOperation operation)
          Adds an operation that is considered as filtered.
 void addNonFiltered(Object obj)
          Adds an object that is classified as non-filtered.
 List<AbstractOperation> getFilteredOperations()
          Returns all operations that are considered to have been filtered.
 List<Object> getNonFiltered()
          Returns the non-filtered content.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteredOperationsResult

public FilteredOperationsResult()
Constructor.

Method Detail

addNonFiltered

public void addNonFiltered(Object obj)
Adds an object that is classified as non-filtered.

Parameters:
obj - the object to be added

addFilteredOperation

public void addFilteredOperation(AbstractOperation operation)
Adds an operation that is considered as filtered.

Parameters:
operation - the operation to be added

getNonFiltered

public List<Object> getNonFiltered()
Returns the non-filtered content.

Returns:
all non-filtered input

getFilteredOperations

public List<AbstractOperation> getFilteredOperations()
Returns all operations that are considered to have been filtered.

Returns:
all filtered operations


Copyright © 2015. All Rights Reserved.