Package com.iizix.run
Class BuilderError
- java.lang.Object
- com.iizix.run.BuilderError
public class BuilderError extends java.lang.Object
Class to hold a builder error for verification.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description BuilderError(PropCnr pc, int index)
Constructor from a remote property error container.BuilderError(java.lang.String name, java.lang.String location, boolean isError, java.lang.String error)
Constructor.BuilderError(java.lang.String name, java.lang.String location, java.lang.String error)
Constructor for isError = true.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(PropCnr pc, int index)
Adds an error to a remote property container for errors.boolean
equals(java.lang.Object o)
Checks for equality.java.lang.String
toString()
Outputs to string for debug purposes.
Constructor Detail
BuilderError
public BuilderError(java.lang.String name, java.lang.String location, java.lang.String error)
Constructor for isError = true.- Parameters:
name
- The property name in error.location
- The location.error
- The error.
BuilderError
public BuilderError(java.lang.String name, java.lang.String location, boolean isError, java.lang.String error)
Constructor.- Parameters:
name
- The property name in error.location
- The location.isError
- The severity: true for error, false for warning.error
- The error.
BuilderError
public BuilderError(PropCnr pc, int index)
Constructor from a remote property error container.- Parameters:
pc
- The property container.index
- The index.
Method Detail
add
public void add(PropCnr pc, int index)
Adds an error to a remote property container for errors.- Parameters:
pc
- The property container.index
- The index.
equals
public boolean equals(java.lang.Object o)
Checks for equality.- Overrides:
equals
in classjava.lang.Object
toString
public java.lang.String toString()
Outputs to string for debug purposes.- Overrides:
toString
in classjava.lang.Object