Class MaskAsObject
Object
AnchorBean<ComparableSource>
ComparableSource
MaskAsObject
public class MaskAsObject
extends ComparableSource
Loads
Mask to compared, converting it into an ObjectMask.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDerivePathWhere to find theMaskto compare, as a function of the source file-path.StackReaderHow to read theMaskfrom the file-system.booleanisInvert()If true theMaskis inverted before conversion into anObjectCollection.Findable<ObjectCollection> loadAsObjects(Path reference, Dimensions dimensions, boolean debugMode, OperationContext context) voidsetDerivePath(DerivePath derivePath) Where to find theMaskto compare, as a function of the source file-path.voidsetInvert(boolean invert) If true theMaskis inverted before conversion into anObjectCollection.voidsetStackReader(StackReader stackReader) How to read theMaskfrom the file-system.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
MaskAsObject
public MaskAsObject()
-
-
Method Details
-
loadAsObjects
public Findable<ObjectCollection> loadAsObjects(Path reference, Dimensions dimensions, boolean debugMode, OperationContext context) throws InputReadFailedException - Specified by:
loadAsObjectsin classComparableSource- Throws:
InputReadFailedException
-
getDerivePath
public DerivePath getDerivePath()Where to find theMaskto compare, as a function of the source file-path. -
setDerivePath
public void setDerivePath(DerivePath derivePath) Where to find theMaskto compare, as a function of the source file-path. -
getStackReader
public StackReader getStackReader()How to read theMaskfrom the file-system. -
setStackReader
public void setStackReader(StackReader stackReader) How to read theMaskfrom the file-system. -
isInvert
public boolean isInvert()If true theMaskis inverted before conversion into anObjectCollection. -
setInvert
public void setInvert(boolean invert) If true theMaskis inverted before conversion into anObjectCollection.
-