org.ow2.jasmine.deployme.api
Class DeployMEPropertiesManager

java.lang.Object
  extended by org.ow2.jasmine.deployme.api.DeployMEPropertiesManager

public class DeployMEPropertiesManager
extends Object

Reads and manages the properties files

Author:
Remy Bresson

Constructor Summary
DeployMEPropertiesManager()
           
 
Method Summary
static DeploymeVersion getDeploymeVersion(List<String> namespaces)
           
static DeploymeVersion getDeploymeVersion(String namespace)
           
static String getTopologySchemaLocation(DeploymeVersion deploymeVersion)
          Return the topology schema location
static String getTopologyXMLNS(DeploymeVersion deploymeVersion)
          Return the topology XML namespace
static String getXsdTopologyPath(DeploymeVersion deploymeVersion)
          Return the topology schema path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployMEPropertiesManager

public DeployMEPropertiesManager()
Method Detail

getXsdTopologyPath

public static String getXsdTopologyPath(DeploymeVersion deploymeVersion)
Return the topology schema path

Parameters:
deploymeVersion - DeploymeVersion
Returns:
the topology schema path

getTopologyXMLNS

public static String getTopologyXMLNS(DeploymeVersion deploymeVersion)
Return the topology XML namespace

Parameters:
deploymeVersion - DeploymeVersion
Returns:
the topology XML namespace

getTopologySchemaLocation

public static String getTopologySchemaLocation(DeploymeVersion deploymeVersion)
Return the topology schema location

Parameters:
deploymeVersion - DeploymeVersion
Returns:
the topology schema location

getDeploymeVersion

public static DeploymeVersion getDeploymeVersion(String namespace)
Parameters:
namespace - A XML namesapce
Returns:
the correct deployme version according to the given namespace

getDeploymeVersion

public static DeploymeVersion getDeploymeVersion(List<String> namespaces)
Parameters:
namespaces - A list of namespaces
Returns:
the correct deployme version according to the given list of namespaces


Copyright © 2012 OW2 Consortium. All Rights Reserved.