uk.ac.ed.inf.ogsaconfig.garm
Class FileType

java.lang.Object
  |
  +--uk.ac.ed.inf.ogsaconfig.garm.FileType

public final class FileType
extends java.lang.Object

File types are the means of representing meta information about files, independently of any particular directory hierarchy.


Field Summary
static FileType BINARY
          An executable suitable for placement in bin/
static FileType CONFIGURATION
          A configuration file suitable for placement in etc/
static FileType DEPLOYMENT
          A deployment file such as server-deploy.wsdd
static FileType DOCUMENTATION
          A documentation file suitable for placement in docs/
static FileType JUNK
          A file of no use to GARM, eg MANIFEST.MF
static FileType LIBRARY
          A library file suitable for placement in lib/
static FileType LICENSE
          A license file (.LICENSE)
static FileType MISCELLANEOUS
          A file of unknown type that has been identified as such; effectively UNKNOWN for typed collections
static FileType SCHEMA
          A schema file suitable for placement in schema/
static FileType UNKNOWN
          A file of unknown type, typically only returned by untyped collections
 
Method Summary
static FileType forName(java.lang.String name)
          Returns a static FileType object for a string name
static java.util.Set getInstalledTypes()
           
 java.lang.String toString()
          Returns a string name for the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final FileType UNKNOWN
A file of unknown type, typically only returned by untyped collections


BINARY

public static final FileType BINARY
An executable suitable for placement in bin/


LIBRARY

public static final FileType LIBRARY
A library file suitable for placement in lib/


MISCELLANEOUS

public static final FileType MISCELLANEOUS
A file of unknown type that has been identified as such; effectively UNKNOWN for typed collections


DEPLOYMENT

public static final FileType DEPLOYMENT
A deployment file such as server-deploy.wsdd


LICENSE

public static final FileType LICENSE
A license file (.LICENSE)


CONFIGURATION

public static final FileType CONFIGURATION
A configuration file suitable for placement in etc/


SCHEMA

public static final FileType SCHEMA
A schema file suitable for placement in schema/


DOCUMENTATION

public static final FileType DOCUMENTATION
A documentation file suitable for placement in docs/


JUNK

public static final FileType JUNK
A file of no use to GARM, eg MANIFEST.MF

Method Detail

forName

public static final FileType forName(java.lang.String name)
Returns a static FileType object for a string name


getInstalledTypes

public static final java.util.Set getInstalledTypes()

toString

public java.lang.String toString()
Returns a string name for the object

Overrides:
toString in class java.lang.Object