org.jmythapi.protocol.response
Enum IFreeSpaceListEntry.EntryProps

java.lang.Object
  extended by java.lang.Enum<IFreeSpaceListEntry.EntryProps>
      extended by org.jmythapi.protocol.response.IFreeSpaceListEntry.EntryProps
All Implemented Interfaces:
Serializable, Comparable<IFreeSpaceListEntry.EntryProps>
Enclosing interface:
IFreeSpaceListEntry

public static enum IFreeSpaceListEntry.EntryProps
extends Enum<IFreeSpaceListEntry.EntryProps>

The properties of an IFreeSpaceList response.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange003237476566-1
HOSTNAMEString[00,-1)XXXXXXX
DIRECTORIESString[32,-1)-XXXXXX
IS_LOCALBoolean[32,-1)-XXXXXX
FILESYSTEM_IDString[32,-1)-XXXXXX
STORAGE_GROUP_IDInteger[37,-1)--XXXXX
BLOCK_SIZEInteger[47,-1)---XXXX
TOTAL_SPACE1Long[00,66)XXXXX--
TOTAL_SPACE2Long[00,66)XXXXX--
TOTAL_SPACELong[66,-1)-----XX
USED_SPACE1Long[00,66)XXXXX--
USED_SPACE2Long[00,66)XXXXX--
USED_SPACELong[66,-1)-----XX


Enum Constant Summary
BLOCK_SIZE
          Filesystem block size.
DIRECTORIES
          Directories.
FILESYSTEM_ID
          File system ID.
HOSTNAME
          Hostname.
IS_LOCAL
          Local Filesystem.
STORAGE_GROUP_ID
          Storage Group ID.
TOTAL_SPACE
          Total disk space.
TOTAL_SPACE1
          Deprecated. 66, replaced by TOTAL_SPACE
TOTAL_SPACE2
          Deprecated. 66, replaced by TOTAL_SPACE
USED_SPACE
          Used disk space.
USED_SPACE1
          Deprecated. 66, replaced by USED_SPACE
USED_SPACE2
          Deprecated. 66, replaced by USED_SPACE
 
Method Summary
static IFreeSpaceListEntry.EntryProps valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IFreeSpaceListEntry.EntryProps[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HOSTNAME

public static final IFreeSpaceListEntry.EntryProps HOSTNAME
Hostname.

The name of the backend using this directory.

See Also:
FreeSpaceList.Entry.getHostName()

DIRECTORIES

public static final IFreeSpaceListEntry.EntryProps DIRECTORIES
Directories.

A list of directories contained in the storage group

Since:
32
See Also:
FreeSpaceList.Entry.getDirectories()

IS_LOCAL

public static final IFreeSpaceListEntry.EntryProps IS_LOCAL
Local Filesystem.

Specifies if the file system is local to the backend.

Since:
32
See Also:
FreeSpaceList.Entry.isLocal()

FILESYSTEM_ID

public static final IFreeSpaceListEntry.EntryProps FILESYSTEM_ID
File system ID.

Since:
32
See Also:
FreeSpaceList.Entry.getFileSystemID()

STORAGE_GROUP_ID

public static final IFreeSpaceListEntry.EntryProps STORAGE_GROUP_ID
Storage Group ID.

If a storage group has multiple directories, this is only the id of the first directory listed in storage groups database table.

Since:
37
See Also:
FreeSpaceList.Entry.getStorageGroupID()

BLOCK_SIZE

public static final IFreeSpaceListEntry.EntryProps BLOCK_SIZE
Filesystem block size.

Since:
47
See Also:
FreeSpaceList.Entry.getBlockSize()

TOTAL_SPACE1

public static final IFreeSpaceListEntry.EntryProps TOTAL_SPACE1
Deprecated. 66, replaced by TOTAL_SPACE
Total disk space - part 1.

See Also:
FreeSpaceList.Entry.getTotalSpace()

TOTAL_SPACE2

public static final IFreeSpaceListEntry.EntryProps TOTAL_SPACE2
Deprecated. 66, replaced by TOTAL_SPACE
Total disk space - part 2.

See Also:
FreeSpaceList.Entry.getTotalSpace()

TOTAL_SPACE

public static final IFreeSpaceListEntry.EntryProps TOTAL_SPACE
Total disk space.

Since:
66
See Also:
FreeSpaceList.Entry.getTotalSpace()

USED_SPACE1

public static final IFreeSpaceListEntry.EntryProps USED_SPACE1
Deprecated. 66, replaced by USED_SPACE
Used disk space - part 1.

See Also:
FreeSpaceList.Entry.getUsedSpace()

USED_SPACE2

public static final IFreeSpaceListEntry.EntryProps USED_SPACE2
Deprecated. 66, replaced by USED_SPACE
Used disk space - part 2.

See Also:
FreeSpaceList.Entry.getUsedSpace()

USED_SPACE

public static final IFreeSpaceListEntry.EntryProps USED_SPACE
Used disk space.

Since:
66
See Also:
FreeSpaceList.Entry.getUsedSpace()
Method Detail

values

public static IFreeSpaceListEntry.EntryProps[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IFreeSpaceListEntry.EntryProps c : IFreeSpaceListEntry.EntryProps.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IFreeSpaceListEntry.EntryProps valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2013. All Rights Reserved.