public class ExclusionInstance extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_ATTRIBUTE_NAME |
static String |
CONTRIBUTOR_ID_ATTRIBUTE_NAME |
static String |
DISPLAY_STRING_ATTRIBUTE_NAME |
static String |
EXCLUSION_ELEMENT_NAME |
static String |
EXCLUSION_TYPE_ATTRIBUTE_NAME |
static String |
EXTENSION_DATA_ELEMENT_NAME |
protected String |
fDisplayString |
static String |
FILE_VALUE |
protected ExclusionType |
fInstanceExclusionType |
static String |
FOLDER_VALUE |
protected RefreshExclusion |
fParent |
protected org.eclipse.core.resources.IResource |
fResource |
static String |
INSTANCE_ELEMENT_NAME |
static String |
RESOURCE_VALUE |
static String |
WORKSPACE_PATH_ATTRIBUTE_NAME |
Constructor and Description |
---|
ExclusionInstance() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayString() |
ExclusionType |
getExclusionType() |
RefreshExclusion |
getParentExclusion()
Returns the parent exclusion of this exclusion instance.
|
org.eclipse.core.resources.IResource |
getResource()
If there is a resource directly associated with this exclusion instance, returns the resource.
|
protected void |
loadExtendedInstanceData(ICStorageElement child) |
static ExclusionInstance |
loadInstanceData(ICStorageElement instanceElement,
RefreshScopeManager manager) |
protected void |
persistExtendedInstanceData(ICStorageElement instanceElement) |
void |
persistInstanceData(ICStorageElement exclusionElement) |
void |
setDisplayString(String displayString) |
void |
setExclusionType(ExclusionType type) |
void |
setParentExclusion(RefreshExclusion parent) |
void |
setResource(org.eclipse.core.resources.IResource resource) |
public static final String CLASS_ATTRIBUTE_NAME
public static final String CONTRIBUTOR_ID_ATTRIBUTE_NAME
public static final String DISPLAY_STRING_ATTRIBUTE_NAME
public static final String EXCLUSION_ELEMENT_NAME
public static final String EXCLUSION_TYPE_ATTRIBUTE_NAME
public static final String EXTENSION_DATA_ELEMENT_NAME
public static final String FILE_VALUE
public static final String FOLDER_VALUE
public static final String INSTANCE_ELEMENT_NAME
public static final String RESOURCE_VALUE
public static final String WORKSPACE_PATH_ATTRIBUTE_NAME
protected String fDisplayString
protected ExclusionType fInstanceExclusionType
protected RefreshExclusion fParent
protected org.eclipse.core.resources.IResource fResource
public static ExclusionInstance loadInstanceData(ICStorageElement instanceElement, RefreshScopeManager manager)
public String getDisplayString()
public ExclusionType getExclusionType()
public RefreshExclusion getParentExclusion()
public org.eclipse.core.resources.IResource getResource()
protected void loadExtendedInstanceData(ICStorageElement child)
protected void persistExtendedInstanceData(ICStorageElement instanceElement)
public void persistInstanceData(ICStorageElement exclusionElement)
public void setDisplayString(String displayString)
public void setExclusionType(ExclusionType type)
public void setParentExclusion(RefreshExclusion parent)
parent
- the RefreshExclusion to set as the parent.public void setResource(org.eclipse.core.resources.IResource resource)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.