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 TypeMethodDescriptionint
Compares 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
(org.eclipse.core.resources.IResourceDelta delta) Formats a string for flags of IResourceDelta kind, type and flags as ", replaced, ...".boolean
Checks if file has been replaced and moved to another location.boolean
Verifies 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:
compareTo
in 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, ...".