public enum CloudInitContentType extends Enum<CloudInitContentType> implements org.jenkinsci.lib.configprovider.model.ContentType
Enum Constant and Description |
---|
BOOTHOOK |
CLOUDCONFIG |
INCLUDE |
INCLUDEONCE |
PARTHANDLER |
SHELL |
UPSTART |
Modifier and Type | Method and Description |
---|---|
String |
getCmMode() |
String |
getMime() |
static CloudInitContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudInitContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudInitContentType CLOUDCONFIG
public static final CloudInitContentType SHELL
public static final CloudInitContentType INCLUDE
public static final CloudInitContentType INCLUDEONCE
public static final CloudInitContentType BOOTHOOK
public static final CloudInitContentType UPSTART
public static final CloudInitContentType PARTHANDLER
public static CloudInitContentType[] values()
for (CloudInitContentType c : CloudInitContentType.values()) System.out.println(c);
public static CloudInitContentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCmMode()
getCmMode
in interface org.jenkinsci.lib.configprovider.model.ContentType
public String getMime()
getMime
in interface org.jenkinsci.lib.configprovider.model.ContentType
Copyright © 2016–2021. All rights reserved.