com.atlassian.confluence.api.model.content
Class SpaceType

java.lang.Object
  extended by com.atlassian.confluence.api.model.BaseApiEnum
      extended by com.atlassian.confluence.api.model.content.SpaceType
All Implemented Interfaces:
ApiEnum

@ExperimentalApi
public final class SpaceType
extends BaseApiEnum

Represents a type of space, such as GLOBAL or PERSONAL. This class is a simple wrapper around a string.


Field Summary
static SpaceType GLOBAL
           
static SpaceType PERSONAL
           
 
Fields inherited from class com.atlassian.confluence.api.model.BaseApiEnum
value
 
Method Summary
static SpaceType forName(String type)
           
 String getType()
           
 String toString()
           
 
Methods inherited from class com.atlassian.confluence.api.model.BaseApiEnum
equals, getValue, hashCode, in, serialise
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GLOBAL

public static final SpaceType GLOBAL

PERSONAL

public static final SpaceType PERSONAL
Method Detail

forName

public static SpaceType forName(String type)

getType

public String getType()

toString

public String toString()
Overrides:
toString in class BaseApiEnum


Copyright © 2003–2015 Atlassian. All rights reserved.