org.marketcetera.strategy
Class CompilationFailed.Diagnostic

java.lang.Object
  extended by org.marketcetera.strategy.CompilationFailed.Diagnostic
Enclosing class:
CompilationFailed

public static class CompilationFailed.Diagnostic
extends Object

Diagnostic information provided by the compiler for a compilation error or warning.

Since:
1.0.0
Version:
$Id: CompilationFailed.java 16154 2012-07-14 16:34:05Z colin $
Author:
Colin DuPlantis

Method Summary
static CompilationFailed.Diagnostic error(String inMessage)
          Creates an error diagnostic.
 String getMessage()
          Get the message value.
 CompilationFailed.Type getType()
          Get the type value.
 String toString()
           
static CompilationFailed.Diagnostic warning(String inMessage)
          Creates a warning diagnostic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

warning

public static CompilationFailed.Diagnostic warning(String inMessage)
Creates a warning diagnostic.

Parameters:
inMessage - a String value
Returns:
a Diagnostic value

error

public static CompilationFailed.Diagnostic error(String inMessage)
Creates an error diagnostic.

Parameters:
inMessage - a String value
Returns:
a Diagnostic value

getType

public final CompilationFailed.Type getType()
Get the type value.

Returns:
a Type value

getMessage

public final String getMessage()
Get the message value.

Returns:
a String value

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.