| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.5.0) on Fri May 16 17:07:38 EDT 2008 --> |
| <TITLE> |
| IServicePolicy |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.ws.service.policy.IServicePolicy interface"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="IServicePolicy"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IServicePolicy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyStateEnum.html" title="interface in org.eclipse.wst.ws.service.policy"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IStateEnumerationItem.html" title="interface in org.eclipse.wst.ws.service.policy"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/wst/ws/service/policy/IServicePolicy.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="IServicePolicy.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <A NAME="main"></A> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.eclipse.wst.ws.service.policy</FONT> |
| <BR> |
| Interface IServicePolicy</H2> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <B>IServicePolicy</B></DL> |
| </PRE> |
| |
| <P> |
| This interface encapsulates the idea of a service policy |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#addPolicyChildChangeListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener)">addPolicyChildChangeListener</A></B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/listeners/IPolicyChildChangeListener.html" title="interface in org.eclipse.wst.ws.service.policy.listeners">IPolicyChildChangeListener</A> listener)</CODE> |
| |
| <BR> |
| Adds a child listener to this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#addStatusChangeListener(org.eclipse.wst.ws.service.policy.listeners.IStatusChangeListener)">addStatusChangeListener</A></B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/listeners/IStatusChangeListener.html" title="interface in org.eclipse.wst.ws.service.policy.listeners">IStatusChangeListener</A> listener)</CODE> |
| |
| <BR> |
| Adds a status change listener to this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.util.List<<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getChildren()">getChildren</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IDescriptor.html" title="interface in org.eclipse.wst.ws.service.policy">IDescriptor</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getDescriptor()">getDescriptor</A></B>()</CODE> |
| |
| <BR> |
| Returns the descriptor for this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getId()">getId</A></B>()</CODE> |
| |
| <BR> |
| Returns the unique ID for this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getParentPolicy()">getParentPolicy</A></B>()</CODE> |
| |
| <BR> |
| Returns the parent service policy object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyState.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyState</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getPolicyState()">getPolicyState</A></B>()</CODE> |
| |
| <BR> |
| Returns the policy state for this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyState.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyState</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getPolicyState(org.eclipse.core.resources.IProject)">getPolicyState</A></B>(org.eclipse.core.resources.IProject project)</CODE> |
| |
| <BR> |
| Returns the IPolicyState for a particular project.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyStateEnum.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyStateEnum</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getPolicyStateEnum()">getPolicyStateEnum</A></B>()</CODE> |
| |
| <BR> |
| Returns the policy state enumeration object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyStateEnum.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyStateEnum</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getPolicyStateEnum(org.eclipse.core.resources.IProject)">getPolicyStateEnum</A></B>(org.eclipse.core.resources.IProject project)</CODE> |
| |
| <BR> |
| Returns the policy state enumeration object for a particular project.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.util.List<<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyRelationship.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyRelationship</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getRelationships()">getRelationships</A></B>()</CODE> |
| |
| <BR> |
| Returns a list of relationships to other IServicePolicy objects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.eclipse.core.runtime.IStatus</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#getStatus()">getStatus</A></B>()</CODE> |
| |
| <BR> |
| Returns the status for this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#isPredefined()">isPredefined</A></B>()</CODE> |
| |
| <BR> |
| Returns if this service policy is defined by an extension or not.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#removeChild(org.eclipse.wst.ws.service.policy.IServicePolicy)">removeChild</A></B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A> policy)</CODE> |
| |
| <BR> |
| Removes a child service policy from this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#removePolicyChildChangeListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener)">removePolicyChildChangeListener</A></B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/listeners/IPolicyChildChangeListener.html" title="interface in org.eclipse.wst.ws.service.policy.listeners">IPolicyChildChangeListener</A> listener)</CODE> |
| |
| <BR> |
| Removes a child listener from this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#removeStatusChangeListener(org.eclipse.wst.ws.service.policy.listeners.IStatusChangeListener)">removeStatusChangeListener</A></B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/listeners/IStatusChangeListener.html" title="interface in org.eclipse.wst.ws.service.policy.listeners">IStatusChangeListener</A> listener)</CODE> |
| |
| <BR> |
| Removes a status change listener from this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#restoreDefaults()">restoreDefaults</A></B>()</CODE> |
| |
| <BR> |
| Restores the policy to its original state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#restoreDefaults(org.eclipse.core.resources.IProject)">restoreDefaults</A></B>(org.eclipse.core.resources.IProject project)</CODE> |
| |
| <BR> |
| Restores the policy to its original state for a particular project.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#setRelationships(java.util.List)">setRelationships</A></B>(java.util.List<<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyRelationship.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyRelationship</A>> relationships)</CODE> |
| |
| <BR> |
| Sets the relationships for this service policy.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html#setStatus(org.eclipse.core.runtime.IStatus)">setStatus</A></B>(org.eclipse.core.runtime.IStatus status)</CODE> |
| |
| <BR> |
| Sets the status for this service policy.</TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="isPredefined()"><!-- --></A><H3> |
| isPredefined</H3> |
| <PRE> |
| boolean <B>isPredefined</B>()</PRE> |
| <DL> |
| <DD>Returns if this service policy is defined by an extension or not. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns true if this Service policy is defined in plugin.xml |
| meta data. Otherwise, false is returned.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getId()"><!-- --></A><H3> |
| getId</H3> |
| <PRE> |
| java.lang.String <B>getId</B>()</PRE> |
| <DL> |
| <DD>Returns the unique ID for this service policy. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns the unique ID for this service policy.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDescriptor()"><!-- --></A><H3> |
| getDescriptor</H3> |
| <PRE> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IDescriptor.html" title="interface in org.eclipse.wst.ws.service.policy">IDescriptor</A> <B>getDescriptor</B>()</PRE> |
| <DL> |
| <DD>Returns the descriptor for this service policy. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns the descriptor for this service policy.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRelationships()"><!-- --></A><H3> |
| getRelationships</H3> |
| <PRE> |
| java.util.List<<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyRelationship.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyRelationship</A>> <B>getRelationships</B>()</PRE> |
| <DL> |
| <DD>Returns a list of relationships to other IServicePolicy objects. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns a list of relationships to other IServicePolicy objects.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRelationships(java.util.List)"><!-- --></A><H3> |
| setRelationships</H3> |
| <PRE> |
| void <B>setRelationships</B>(java.util.List<<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyRelationship.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyRelationship</A>> relationships)</PRE> |
| <DL> |
| <DD>Sets the relationships for this service policy. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>relationships</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="restoreDefaults()"><!-- --></A><H3> |
| restoreDefaults</H3> |
| <PRE> |
| void <B>restoreDefaults</B>()</PRE> |
| <DL> |
| <DD>Restores the policy to its original state. All locally added |
| child policies will be removed. The state of each policy will |
| be set to is default value. Note: the changes made calling |
| this method can be undone if the platform performs a discardChanges |
| operation. Alternatively, if the plaform performs a commitChanges |
| operation these changes will be saved. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="restoreDefaults(org.eclipse.core.resources.IProject)"><!-- --></A><H3> |
| restoreDefaults</H3> |
| <PRE> |
| void <B>restoreDefaults</B>(org.eclipse.core.resources.IProject project)</PRE> |
| <DL> |
| <DD>Restores the policy to its original state for a particular project. |
| The state of each policy will be set to is default value. |
| Note: the changes made calling |
| this method can be undone if the platform performs a discardChanges |
| operation. Alternatively, if the plaform performs a commitChanges |
| operation these changes will be saved. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPolicyState()"><!-- --></A><H3> |
| getPolicyState</H3> |
| <PRE> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyState.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyState</A> <B>getPolicyState</B>()</PRE> |
| <DL> |
| <DD>Returns the policy state for this service policy. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns the policy state for this service policy.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPolicyState(org.eclipse.core.resources.IProject)"><!-- --></A><H3> |
| getPolicyState</H3> |
| <PRE> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyState.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyState</A> <B>getPolicyState</B>(org.eclipse.core.resources.IProject project)</PRE> |
| <DL> |
| <DD>Returns the IPolicyState for a particular project. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - the project. |
| <DT><B>Returns:</B><DD>The IPolicyState for a particular project.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPolicyStateEnum()"><!-- --></A><H3> |
| getPolicyStateEnum</H3> |
| <PRE> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyStateEnum.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyStateEnum</A> <B>getPolicyStateEnum</B>()</PRE> |
| <DL> |
| <DD>Returns the policy state enumeration object. Note: this is just |
| a wrapper around the policy state object. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns the state enumeration object for this service |
| policy. If this policy is not associated with an enumeration |
| null will be returned.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPolicyStateEnum(org.eclipse.core.resources.IProject)"><!-- --></A><H3> |
| getPolicyStateEnum</H3> |
| <PRE> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyStateEnum.html" title="interface in org.eclipse.wst.ws.service.policy">IPolicyStateEnum</A> <B>getPolicyStateEnum</B>(org.eclipse.core.resources.IProject project)</PRE> |
| <DL> |
| <DD>Returns the policy state enumeration object for a particular project. |
| Note: this is just a wrapper around the policy state object. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - the project |
| <DT><B>Returns:</B><DD>returns the state enumeration for a particular project. If |
| no state enumeration is associated with the service policy |
| null will be returned.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getParentPolicy()"><!-- --></A><H3> |
| getParentPolicy</H3> |
| <PRE> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A> <B>getParentPolicy</B>()</PRE> |
| <DL> |
| <DD>Returns the parent service policy object. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns the parent policy for this service policy. If this |
| service policy has no parent then null is returned.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getChildren()"><!-- --></A><H3> |
| getChildren</H3> |
| <PRE> |
| java.util.List<<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A>> <B>getChildren</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns the child service policies for this service policy. Changes |
| made to the returned list do not change the underlying number of children |
| for this service policy.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeChild(org.eclipse.wst.ws.service.policy.IServicePolicy)"><!-- --></A><H3> |
| removeChild</H3> |
| <PRE> |
| void <B>removeChild</B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IServicePolicy.html" title="interface in org.eclipse.wst.ws.service.policy">IServicePolicy</A> policy)</PRE> |
| <DL> |
| <DD>Removes a child service policy from this service policy. If the policy specified |
| is null or is not a child of this service policy this method will have no effect. |
| Also, if this service policy is predefined calling this method will have |
| no effect. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>policy</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addPolicyChildChangeListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener)"><!-- --></A><H3> |
| addPolicyChildChangeListener</H3> |
| <PRE> |
| void <B>addPolicyChildChangeListener</B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/listeners/IPolicyChildChangeListener.html" title="interface in org.eclipse.wst.ws.service.policy.listeners">IPolicyChildChangeListener</A> listener)</PRE> |
| <DL> |
| <DD>Adds a child listener to this service policy. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removePolicyChildChangeListener(org.eclipse.wst.ws.service.policy.listeners.IPolicyChildChangeListener)"><!-- --></A><H3> |
| removePolicyChildChangeListener</H3> |
| <PRE> |
| void <B>removePolicyChildChangeListener</B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/listeners/IPolicyChildChangeListener.html" title="interface in org.eclipse.wst.ws.service.policy.listeners">IPolicyChildChangeListener</A> listener)</PRE> |
| <DL> |
| <DD>Removes a child listener from this service policy. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addStatusChangeListener(org.eclipse.wst.ws.service.policy.listeners.IStatusChangeListener)"><!-- --></A><H3> |
| addStatusChangeListener</H3> |
| <PRE> |
| void <B>addStatusChangeListener</B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/listeners/IStatusChangeListener.html" title="interface in org.eclipse.wst.ws.service.policy.listeners">IStatusChangeListener</A> listener)</PRE> |
| <DL> |
| <DD>Adds a status change listener to this service policy. When the status changes |
| this listener will be notified. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeStatusChangeListener(org.eclipse.wst.ws.service.policy.listeners.IStatusChangeListener)"><!-- --></A><H3> |
| removeStatusChangeListener</H3> |
| <PRE> |
| void <B>removeStatusChangeListener</B>(<A HREF="../../../../../../org/eclipse/wst/ws/service/policy/listeners/IStatusChangeListener.html" title="interface in org.eclipse.wst.ws.service.policy.listeners">IStatusChangeListener</A> listener)</PRE> |
| <DL> |
| <DD>Removes a status change listener from this service policy. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStatus()"><!-- --></A><H3> |
| getStatus</H3> |
| <PRE> |
| org.eclipse.core.runtime.IStatus <B>getStatus</B>()</PRE> |
| <DL> |
| <DD>Returns the status for this service policy. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns the status for this service policy.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStatus(org.eclipse.core.runtime.IStatus)"><!-- --></A><H3> |
| setStatus</H3> |
| <PRE> |
| void <B>setStatus</B>(org.eclipse.core.runtime.IStatus status)</PRE> |
| <DL> |
| <DD>Sets the status for this service policy. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>status</CODE> - </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IServicePolicy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IPolicyStateEnum.html" title="interface in org.eclipse.wst.ws.service.policy"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/wst/ws/service/policy/IStateEnumerationItem.html" title="interface in org.eclipse.wst.ws.service.policy"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/wst/ws/service/policy/IServicePolicy.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="IServicePolicy.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |