< prev index next >

jdk/src/jdk.management/share/classes/com/sun/management/VMOption.java

Print this page




  79         VM_CREATION,
  80         /**
  81          * The VM option was set via an environment variable.
  82          */
  83         ENVIRON_VAR,
  84         /**
  85          * The VM option was set via a configuration file.
  86          */
  87         CONFIG_FILE,
  88         /**
  89          * The VM option was set via the management interface after the VM
  90          * was started.
  91          */
  92         MANAGEMENT,
  93         /**
  94          * The VM option was set via the VM ergonomic support.
  95          */
  96         ERGONOMIC,
  97         /**
  98          * The VM option was set using the attach framework.
  99          * @since 1.9
 100          */
 101         ATTACH_ON_DEMAND,
 102         /**
 103          * The VM option was set via some other mechanism.
 104          */
 105         OTHER
 106     }
 107 
 108     /**
 109      * Constructs a {@code VMOption}.
 110      *
 111      * @param name Name of a VM option.
 112      * @param value Value of a VM option.
 113      * @param writeable {@code true} if a VM option can be set dynamically,
 114      *                  or {@code false} otherwise.
 115      * @param origin where the value of a VM option came from.
 116      *
 117      * @throws NullPointerException if the name or value is {@code null}
 118      */
 119     public VMOption(String name, String value, boolean writeable, Origin origin) {




  79         VM_CREATION,
  80         /**
  81          * The VM option was set via an environment variable.
  82          */
  83         ENVIRON_VAR,
  84         /**
  85          * The VM option was set via a configuration file.
  86          */
  87         CONFIG_FILE,
  88         /**
  89          * The VM option was set via the management interface after the VM
  90          * was started.
  91          */
  92         MANAGEMENT,
  93         /**
  94          * The VM option was set via the VM ergonomic support.
  95          */
  96         ERGONOMIC,
  97         /**
  98          * The VM option was set using the attach framework.
  99          * @since 9
 100          */
 101         ATTACH_ON_DEMAND,
 102         /**
 103          * The VM option was set via some other mechanism.
 104          */
 105         OTHER
 106     }
 107 
 108     /**
 109      * Constructs a {@code VMOption}.
 110      *
 111      * @param name Name of a VM option.
 112      * @param value Value of a VM option.
 113      * @param writeable {@code true} if a VM option can be set dynamically,
 114      *                  or {@code false} otherwise.
 115      * @param origin where the value of a VM option came from.
 116      *
 117      * @throws NullPointerException if the name or value is {@code null}
 118      */
 119     public VMOption(String name, String value, boolean writeable, Origin origin) {


< prev index next >