|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServicePolicy
This interface encapsulates the idea of a service policy
Method Summary | |
---|---|
void |
addPolicyChildChangeListener(IPolicyChildChangeListener listener)
Adds a child listener to this service policy. |
void |
addStatusChangeListener(IStatusChangeListener listener)
Adds a status change listener to this service policy. |
java.util.List<IServicePolicy> |
getChildren()
|
IDescriptor |
getDescriptor()
Returns the descriptor for this service policy. |
java.lang.String |
getId()
Returns the unique ID for this service policy. |
IServicePolicy |
getParentPolicy()
Returns the parent service policy object. |
IPolicyState |
getPolicyState()
Returns the policy state for this service policy. |
IPolicyState |
getPolicyState(org.eclipse.core.resources.IProject project)
Returns the IPolicyState for a particular project. |
IPolicyStateEnum |
getPolicyStateEnum()
Returns the policy state enumeration object. |
IPolicyStateEnum |
getPolicyStateEnum(org.eclipse.core.resources.IProject project)
Returns the policy state enumeration object for a particular project. |
java.util.List<IPolicyRelationship> |
getRelationships()
Returns a list of relationships to other IServicePolicy objects. |
org.eclipse.core.runtime.IStatus |
getStatus()
Returns the status for this service policy. |
boolean |
isPredefined()
Returns if this service policy is defined by an extension or not. |
void |
removeChild(IServicePolicy policy)
Removes a child service policy from this service policy. |
void |
removePolicyChildChangeListener(IPolicyChildChangeListener listener)
Removes a child listener from this service policy. |
void |
removeStatusChangeListener(IStatusChangeListener listener)
Removes a status change listener from this service policy. |
void |
restoreDefaults()
Restores the policy to its original state. |
void |
restoreDefaults(org.eclipse.core.resources.IProject project)
Restores the policy to its original state for a particular project. |
void |
setRelationships(java.util.List<IPolicyRelationship> relationships)
Sets the relationships for this service policy. |
void |
setStatus(org.eclipse.core.runtime.IStatus status)
Sets the status for this service policy. |
Method Detail |
---|
boolean isPredefined()
java.lang.String getId()
IDescriptor getDescriptor()
java.util.List<IPolicyRelationship> getRelationships()
void setRelationships(java.util.List<IPolicyRelationship> relationships)
relationships
- void restoreDefaults()
void restoreDefaults(org.eclipse.core.resources.IProject project)
IPolicyState getPolicyState()
IPolicyState getPolicyState(org.eclipse.core.resources.IProject project)
project
- the project.
IPolicyStateEnum getPolicyStateEnum()
IPolicyStateEnum getPolicyStateEnum(org.eclipse.core.resources.IProject project)
project
- the project
IServicePolicy getParentPolicy()
java.util.List<IServicePolicy> getChildren()
void removeChild(IServicePolicy policy)
policy
- void addPolicyChildChangeListener(IPolicyChildChangeListener listener)
listener
- the listenervoid removePolicyChildChangeListener(IPolicyChildChangeListener listener)
listener
- void addStatusChangeListener(IStatusChangeListener listener)
listener
- void removeStatusChangeListener(IStatusChangeListener listener)
listener
- org.eclipse.core.runtime.IStatus getStatus()
void setStatus(org.eclipse.core.runtime.IStatus status)
status
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |