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 Summary
Modifier and TypeMethodDescriptionintCompares two resources, resource path names A-Z.static StringgetFlagString(int flags) Formats a string for flags of IResourceDelta type and flags as ", replaced, ...".static StringgetString(org.eclipse.core.resources.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
hasBeenReplacedAndMoved
public boolean hasBeenReplacedAndMoved()Checks if file has been replaced and moved to another location.compareTo
Compares two resources, resource path names A-Z.- Specified by:
compareToin interfaceComparable<BuildResource>- Parameters:
br- Another build object.- Returns:
- Comparison -1 to 1.
toString
A String representation.isFolderSettingsFile
public boolean isFolderSettingsFile()Verifies if this is a FolderSettingsProp file ".iiziFolder".getString
Formats a string for flags of IResourceDelta kind, type and flags as ", replaced, ...".getFlagString
Formats a string for flags of IResourceDelta type and flags as ", replaced, ...".