Class GetSystemPropertyAsIntegerAction

  • All Implemented Interfaces:
    java.security.PrivilegedAction<java.lang.Integer>

    public class GetSystemPropertyAsIntegerAction
    extends java.lang.Object
    implements java.security.PrivilegedAction<java.lang.Integer>
    Wrapper for Integer.getInteger(propertyName, defaultValue).
    Since:
    8.2
    Author:
    Dan Berindei
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GetSystemPropertyAsIntegerAction

        public GetSystemPropertyAsIntegerAction​(java.lang.String propertyName,
                                                int defaultValue)
    • Method Detail

      • run

        public java.lang.Integer run()
        Specified by:
        run in interface java.security.PrivilegedAction<java.lang.Integer>