Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.virtualbox_4_2.jaxws;
 

Java class for ProcessCreateFlag.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ProcessCreateFlag">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="None"/>
     <enumeration value="WaitForProcessStartOnly"/>
     <enumeration value="IgnoreOrphanedProcesses"/>
     <enumeration value="Hidden"/>
     <enumeration value="NoProfile"/>
     <enumeration value="WaitForStdOut"/>
     <enumeration value="WaitForStdErr"/>
     <enumeration value="ExpandArguments"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "ProcessCreateFlag")
public enum ProcessCreateFlag {
    @XmlEnumValue("None")
    NONE("None"),
    @XmlEnumValue("WaitForProcessStartOnly")
    WAIT_FOR_PROCESS_START_ONLY("WaitForProcessStartOnly"),
    @XmlEnumValue("IgnoreOrphanedProcesses")
    IGNORE_ORPHANED_PROCESSES("IgnoreOrphanedProcesses"),
    @XmlEnumValue("Hidden")
    HIDDEN("Hidden"),
    @XmlEnumValue("NoProfile")
    NO_PROFILE("NoProfile"),
    @XmlEnumValue("WaitForStdOut")
    WAIT_FOR_STD_OUT("WaitForStdOut"),
    @XmlEnumValue("WaitForStdErr")
    WAIT_FOR_STD_ERR("WaitForStdErr"),
    @XmlEnumValue("ExpandArguments")
    EXPAND_ARGUMENTS("ExpandArguments");
    private final String value;
         = v;
    }
    public String value() {
        return ;
    }
    public static ProcessCreateFlag fromValue(String v) {
        for (ProcessCreateFlag c: ProcessCreateFlag.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
New to GrepCode? Check out our FAQ X