org.mitre.maec.default_vocabularies_1.IPCActionNameEnum10 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stix Show documentation
Show all versions of stix Show documentation
The Java bindings for STIX v.1.2.0.2
/**
* Copyright (c) 2015, The MITRE Corporation. All rights reserved.
* See LICENSE for complete terms.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.06.23 at 10:59:44 AM EDT
//
package org.mitre.maec.default_vocabularies_1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for IPCActionNameEnum-1.0.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="IPCActionNameEnum-1.0">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="create named pipe"/>
* <enumeration value="delete named pipe"/>
* <enumeration value="connect to named pipe"/>
* <enumeration value="disconnect from named pipe"/>
* <enumeration value="read from named pipe"/>
* <enumeration value="write to named pipe"/>
* <enumeration value="create mailslot"/>
* <enumeration value="read from mailslot"/>
* <enumeration value="write to mailslot"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "IPCActionNameEnum-1.0")
@XmlEnum
public enum IPCActionNameEnum10 {
/**
* The 'create named pipe' value specifies the defined action of creating a new named pipe.
*
*/
@XmlEnumValue("create named pipe")
CREATE_NAMED_PIPE("create named pipe"),
/**
* The 'delete named pipe' value specifies the defined action of deleting an existing named pipe.
*
*/
@XmlEnumValue("delete named pipe")
DELETE_NAMED_PIPE("delete named pipe"),
/**
* The 'connected to named pipe' value specifies the defined action of connecting to an existing named pipe.
*
*/
@XmlEnumValue("connect to named pipe")
CONNECT_TO_NAMED_PIPE("connect to named pipe"),
/**
* The 'disconnect from named pipe' value specifies the defined action of disconnecting from an existing named pipe.
*
*/
@XmlEnumValue("disconnect from named pipe")
DISCONNECT_FROM_NAMED_PIPE("disconnect from named pipe"),
/**
* The 'read from named pipe' value specifies the defined action of reading some data from an existing named pipe.
*
*/
@XmlEnumValue("read from named pipe")
READ_FROM_NAMED_PIPE("read from named pipe"),
/**
* The 'write to named pipe' value specifies the defined action of writing some data to an existing named pipe.
*
*/
@XmlEnumValue("write to named pipe")
WRITE_TO_NAMED_PIPE("write to named pipe"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("create mailslot")
CREATE_MAILSLOT("create mailslot"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("read from mailslot")
READ_FROM_MAILSLOT("read from mailslot"),
/**
* Windows-specific.
*
*/
@XmlEnumValue("write to mailslot")
WRITE_TO_MAILSLOT("write to mailslot");
private final String value;
IPCActionNameEnum10(String v) {
value = v;
}
public String value() {
return value;
}
public static IPCActionNameEnum10 fromValue(String v) {
for (IPCActionNameEnum10 c : IPCActionNameEnum10.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}