blob: 3613adae43acf35d7f721fd285896d6c5aa7baea [file] [log] [blame]
package net.onrc.onos.core.matchaction.action;
/**
* An action which does not affect anything at all.
* In other words, NOP.
*
* This action can be used for intent only. Flow Manager and Match Action Manager
* may not handle correctly.
*/
public final class NullAction implements Action {
private static final NullAction INSTANCE = new NullAction();
private NullAction() {}
/**
* Returns singleton of this class.
*
* @return singleton of this class
*/
static NullAction getInstance() {
return INSTANCE;
}
}