Package org.apache.tools.ant.util
Class SecurityManagerUtil
java.lang.Object
org.apache.tools.ant.util.SecurityManagerUtil
- Since:
- Ant 1.10.14
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanReturns true ifSecurityManagerusage is allowed in current Java runtime. false otherwise.static booleanwarnOnSecurityManagerUsage(Project project) Returns true ifSecurityManagerusage should only be logged as a warning. false otherwise.
- 
Constructor Details- 
SecurityManagerUtilpublic SecurityManagerUtil()
 
- 
- 
Method Details- 
isSetSecurityManagerAllowedpublic static boolean isSetSecurityManagerAllowed()Returns true ifSecurityManagerusage is allowed in current Java runtime. false otherwise.- Returns:
- true if SecurityManagerusage is allowed in current Java runtime. false otherwise
 
- 
warnOnSecurityManagerUsageReturns true ifSecurityManagerusage should only be logged as a warning. false otherwise.- Returns:
- true if SecurityManagerusage should only be logged as a warning. false otherwise
 
 
-