Package cruise.umple.parser
Class ErrorTypeSingleton
java.lang.Object
cruise.umple.parser.ErrorTypeSingleton
public class ErrorTypeSingleton
extends java.lang.Object
Lists all the errors in the system
-
Method Summary
Modifier and Type Method Description boolean
addErrorType(ErrorType aErrorType)
boolean
addErrorTypeAt(ErrorType aErrorType, int index)
boolean
addOrMoveErrorTypeAt(ErrorType aErrorType, int index)
void
clear()
void
delete()
ErrorType
getErrorType(int index)
ErrorType
getErrorTypeForCode(int code)
java.util.List<ErrorType>
getErrorTypes()
static ErrorTypeSingleton
getInstance()
boolean
hasErrorTypes()
int
indexOfErrorType(ErrorType aErrorType)
static int
minimumNumberOfErrorTypes()
int
numberOfErrorTypes()
java.lang.String
readFile(java.lang.String filenameOrResourcePath)
boolean
removeErrorType(ErrorType aErrorType)
void
reset()
-
Method Details
-
getInstance
-
getErrorType
-
getErrorTypes
-
numberOfErrorTypes
public int numberOfErrorTypes() -
hasErrorTypes
public boolean hasErrorTypes() -
indexOfErrorType
-
minimumNumberOfErrorTypes
public static int minimumNumberOfErrorTypes() -
addErrorType
-
removeErrorType
-
addErrorTypeAt
-
addOrMoveErrorTypeAt
-
delete
public void delete() -
readFile
public java.lang.String readFile(java.lang.String filenameOrResourcePath) -
clear
public void clear() -
reset
public void reset() -
getErrorTypeForCode
-