|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.checkinpolicies.loaders.NullPolicyLoader
public class NullPolicyLoader
Loads no checking policies. Can be passed to methods that require a
PolicyLoader
when checkin policy evaluation is not desired.
Constructor Summary | |
---|---|
NullPolicyLoader()
Creates a NullPolicyLoader , which never loads any policy
implementations, but does not error. |
Method Summary | |
---|---|
java.lang.String[] |
getAvailablePolicyTypeIDs()
Returns all the policy type ID strings that could be loaded by this loader. |
PolicyInstance |
load(java.lang.String policyTypeID)
Loads a policy instance that is appropriate for the given policy type ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullPolicyLoader()
NullPolicyLoader
, which never loads any policy
implementations, but does not error.
Method Detail |
---|
public PolicyInstance load(java.lang.String policyTypeID) throws PolicyLoaderException
load
in interface PolicyLoader
policyTypeID
- the string that identifies the type of policy to load (must not be
null
or empty)
null
if no matching PolicyInstance
s could be
found.
PolicyLoaderException
- if an I/O error occurred loading the policy.public java.lang.String[] getAvailablePolicyTypeIDs() throws PolicyLoaderException
PolicyLoader.load(String)
is invoked.
getAvailablePolicyTypeIDs
in interface PolicyLoader
PolicyLoaderException
- if an I/O error occurred searching for policies.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |