Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.metacosm.framework.command
Class Result  view Result download Result.java

java.lang.Object
  extended byorg.metacosm.framework.command.Result

public final class Result
extends java.lang.Object

Result from the execute() method from commands.


Field Summary
static Result BAD_PARAMETER
          At least one parameter is illegal/invalid/incorrect/inconsistent/incoherent/inapplicable/unfriendly
static Result INAPPLICABLE
          This command can't be applied to this Controller/Player.
static Result NOT_ENOUGH_PARAMETERS
          X (X > 0) parameters and X+1 needed
static Result OK
          Allowed command
static Result TOO_MANY_PARAMETERS
          X (X > 0) parameters and Y (Y < X) needed
static Result UNEXPECTED_PARAMETER
          At least one parameter and no needed
static Result UNKNOWN_ERROR
          Something bad happened.
 
Constructor Summary
private Result()
          Only public instances in parameters are available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static Result OK
Allowed command


UNEXPECTED_PARAMETER

public static Result UNEXPECTED_PARAMETER
At least one parameter and no needed


TOO_MANY_PARAMETERS

public static Result TOO_MANY_PARAMETERS
X (X > 0) parameters and Y (Y < X) needed


NOT_ENOUGH_PARAMETERS

public static Result NOT_ENOUGH_PARAMETERS
X (X > 0) parameters and X+1 needed


BAD_PARAMETER

public static Result BAD_PARAMETER
At least one parameter is illegal/invalid/incorrect/inconsistent/incoherent/inapplicable/unfriendly


INAPPLICABLE

public static Result INAPPLICABLE
This command can't be applied to this Controller/Player.


UNKNOWN_ERROR

public static Result UNKNOWN_ERROR
Something bad happened.

Constructor Detail

Result

private Result()
Only public instances in parameters are available.