slib.sglib.algo.graph.utils
Class GAction

java.lang.Object
  extended by slib.utils.impl.ParametrableImpl
      extended by slib.sglib.algo.graph.utils.GAction
All Implemented Interfaces:
slib.utils.i.CheckableValidity, slib.utils.i.Parametrable

public class GAction
extends slib.utils.impl.ParametrableImpl
implements slib.utils.i.CheckableValidity

Class used to represent an action which is applicable to a graph.

Author:
Harispe Sébastien

Field Summary
 GActionType type
          The type of action
 
Constructor Summary
GAction(GActionType type)
          Build an instance of GAction considering the given type.
 
Method Summary
 boolean isValid()
          Check if the action is valid with regards to the parameters required to be specified.
 
Methods inherited from class slib.utils.impl.ParametrableImpl
addParameter, clear, existsParam, getParameter, getParams, removeParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public GActionType type
The type of action

Constructor Detail

GAction

public GAction(GActionType type)
Build an instance of GAction considering the given type.

Parameters:
type - the type of action
Method Detail

isValid

public boolean isValid()
Check if the action is valid with regards to the parameters required to be specified.

Specified by:
isValid in interface slib.utils.i.CheckableValidity
Returns:
true if the configuration is valid, false either


Copyright © 2013. All Rights Reserved.