org.mitre.maec.default_vocabularies_1.DiskActionNameEnum11 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 DiskActionNameEnum-1.1.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="DiskActionNameEnum-1.1">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="get disk type"/>
* <enumeration value="get disk attributes"/>
* <enumeration value="mount disk"/>
* <enumeration value="unmount disk"/>
* <enumeration value="emulate disk"/>
* <enumeration value="list disks"/>
* <enumeration value="monitor disk"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "DiskActionNameEnum-1.1")
@XmlEnum
public enum DiskActionNameEnum11 {
/**
* The 'get disk type' value specifies the defined action of getting the disk type.
*
*/
@XmlEnumValue("get disk type")
GET_DISK_TYPE("get disk type"),
/**
* The 'get disk attributes' value specifies the defined action of querying the attributes of a disk, such as the amount of available free space.
*
*/
@XmlEnumValue("get disk attributes")
GET_DISK_ATTRIBUTES("get disk attributes"),
/**
* The 'mount disk' value specifies the defined action of mounting an existing file system to a mounting point.
*
*/
@XmlEnumValue("mount disk")
MOUNT_DISK("mount disk"),
/**
* The 'unmount disk' value specifies the defined action of unmounting an existing file system from a mounting point.
*
*/
@XmlEnumValue("unmount disk")
UNMOUNT_DISK("unmount disk"),
/**
* The 'emulate disk' value specifies the defined action of emulating an existing disk.
*
*/
@XmlEnumValue("emulate disk")
EMULATE_DISK("emulate disk"),
/**
* The 'list disks' value specifies the defined action of listing all disks available on a system.
*
*/
@XmlEnumValue("list disks")
LIST_DISKS("list disks"),
/**
* The 'monitor disk' value specifies the defined action of monitoring an existing disk for changes.
*
*/
@XmlEnumValue("monitor disk")
MONITOR_DISK("monitor disk");
private final String value;
DiskActionNameEnum11(String v) {
value = v;
}
public String value() {
return value;
}
public static DiskActionNameEnum11 fromValue(String v) {
for (DiskActionNameEnum11 c : DiskActionNameEnum11.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}