com.partnersoft.update.model
Class UpdateOS

java.lang.Object
  extended by com.partnersoft.update.model.UpdateOS

public class UpdateOS
extends java.lang.Object

Operating system types for os-specific files in the Partner installation filesystem.

Copyright 2010 Partner Software, Inc.

Version:
$Id: UpdateConfigLevel.java 1089 2008-01-08 17:36:05Z paul $
Author:
Paul Reavis

Field Summary
static UpdateOS LINUX
           
static UpdateOS MAC
           
static UpdateOS PALM
           
static UpdateOS SUNOS
           
static UpdateOS WINDOWS
           
 
Method Summary
static UpdateOS forCurrentRuntime()
          Returns the instance matching the current runtime's environment.
static UpdateOS forName(java.lang.String name)
          Returns the instance matching the given name.
 java.lang.String getName()
          Name of the volume.
 java.lang.String getPath()
          Standard path in the filesystem to the volume's files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WINDOWS

public static final UpdateOS WINDOWS

MAC

public static final UpdateOS MAC

LINUX

public static final UpdateOS LINUX

PALM

public static final UpdateOS PALM

SUNOS

public static final UpdateOS SUNOS
Method Detail

forName

public static UpdateOS forName(java.lang.String name)
Returns the instance matching the given name. Returns null if no match is available.


forCurrentRuntime

public static UpdateOS forCurrentRuntime()
Returns the instance matching the current runtime's environment.


getName

public java.lang.String getName()
Name of the volume.

Returns:
name of volume

getPath

public java.lang.String getPath()
Standard path in the filesystem to the volume's files.