Package com.iizigo.project
Class BuildResource
java.lang.Object
com.iizigo.project.BuildResource
- All Implemented Interfaces:
- Comparable<BuildResource>
The class that holds the resources to build, files or folders, has a Comparable interface implemented so it can be sorted by path name A-Z.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- intCompares two resources, resource path names A-Z.- static String- getFlagString- (int flags) Formats a string for flags of IResourceDelta type and flags as ", replaced, ...".- static String- getString- (IResourceDelta delta) Formats a string for flags of IResourceDelta kind, type and flags as ", replaced, ...".- booleanChecks if file has been replaced and moved to another location.- booleanVerifies if this is a FolderSettingsProp file ".iiziFolder".- toString()A String representation.
- Method Details- hasBeenReplacedAndMovedpublic boolean hasBeenReplacedAndMoved()Checks if file has been replaced and moved to another location.
- compareToCompares two resources, resource path names A-Z.- Specified by:
- compareToin interface- Comparable<BuildResource>
- Parameters:
- br- Another build object.
- Returns:
- Comparison -1 to 1.
 
- toStringA String representation.
- isFolderSettingsFilepublic boolean isFolderSettingsFile()Verifies if this is a FolderSettingsProp file ".iiziFolder".
- getStringFormats a string for flags of IResourceDelta kind, type and flags as ", replaced, ...".
- getFlagStringFormats a string for flags of IResourceDelta type and flags as ", replaced, ...".