Package org.apache.tools.ant.util
Class SecurityManagerUtil
java.lang.Object
org.apache.tools.ant.util.SecurityManagerUtil
- Since:
- Ant 1.10.14
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
SecurityManagerUtil
public SecurityManagerUtil()
-
-
Method Details
-
isSetSecurityManagerAllowed
public 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
-
warnOnSecurityManagerUsage
Returns true ifSecurityManagerusage should only be logged as a warning. false otherwise.- Returns:
- true if
SecurityManagerusage should only be logged as a warning. false otherwise
-