< prev index next >

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

Print this page




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




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


< prev index next >