public final class SkinVersion extends Object
| Modifier and Type | Field and Description |
|---|---|
static SkinVersion |
EMPTY_SKIN_VERSION |
| Constructor and Description |
|---|
SkinVersion(String name)
Constructor that takes a version name.
|
SkinVersion(String name,
boolean defaultVersion)
Constructor that takes a name and a defaultVersion.
|
public static final SkinVersion EMPTY_SKIN_VERSION
public SkinVersion(String name)
name - the name of the version, like "v1". If name is null, it is converted to "".
same skin familypublic SkinVersion(String name, boolean defaultVersion)
name - the name of the version, like "v1". If name is null, it is converted to "".defaultVersion - true if this skin is the default version for all skins with the
same skin familypublic boolean isDefault()
public String getName()
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.