net.sf.mmapps.modules.config
Interface ApplicationConfiguration

All Known Implementing Classes:
BasicApplicationConfiguration

public interface ApplicationConfiguration

This class represents the cloud configuration of an mmbase application

Version:
$Id: ApplicationConfiguration.java,v 1.1.1.1 2004/02/06 08:44:02 keesj Exp $
Author:
Kees Jongenburger

Method Summary
 void add(ApplicationConfiguration applicationConfiguration)
           
 void addDepends(java.lang.String depends)
           
 void addNodeManagerConfiguration(NodeManagerConfiguration nodeManagerConfiguration)
           
 void addRelationManagerConfiguration(RelationManagerConfiguration conf)
           
 void addRelationType(RelationType relationType)
           
 void addRequiredNodeManager(java.lang.String name)
           
 Strings getDepends()
           
 java.lang.String getMaintainer()
           
 java.lang.String getName()
           
 NodeManagerConfigurations getNodeManagerConfigurations()
           
 RelationManagerConfigurations getRelationManagerConfigurations()
           
 RelationType getRelationType(java.lang.String name)
           
 RelationTypes getRelationTypes()
           
 Strings getRequiredNodeManagers()
           
 java.lang.String getVersion()
           
 void setMaintainer(java.lang.String maintiner)
           
 void setName(java.lang.String name)
          set the name of the application
 void setVersion(java.lang.String version)
           
 

Method Detail

getName

public java.lang.String getName()
Returns:
the name of the application

setName

public void setName(java.lang.String name)
set the name of the application


getMaintainer

public java.lang.String getMaintainer()
Returns:
the maintainer

setMaintainer

public void setMaintainer(java.lang.String maintiner)
Parameters:
maintiner - the maintainer of the aplication(orgianisation/url)

getVersion

public java.lang.String getVersion()
Returns:
the version of the application

setVersion

public void setVersion(java.lang.String version)
Parameters:
version - the version of the application

addDepends

public void addDepends(java.lang.String depends)

addRequiredNodeManager

public void addRequiredNodeManager(java.lang.String name)

addRelationManagerConfiguration

public void addRelationManagerConfiguration(RelationManagerConfiguration conf)

addRelationType

public void addRelationType(RelationType relationType)

getNodeManagerConfigurations

public NodeManagerConfigurations getNodeManagerConfigurations()
Returns:
the list of NodeManager configurations defined by the application. This list contains node managers and "relation" node managers

addNodeManagerConfiguration

public void addNodeManagerConfiguration(NodeManagerConfiguration nodeManagerConfiguration)

getRequiredNodeManagers

public Strings getRequiredNodeManagers()

getRelationManagerConfigurations

public RelationManagerConfigurations getRelationManagerConfigurations()
Returns:
the list of defined possible relations between to nodemanagers (using a certain "relation" node manager)

getRelationTypes

public RelationTypes getRelationTypes()

getRelationType

public RelationType getRelationType(java.lang.String name)

getDepends

public Strings getDepends()

add

public void add(ApplicationConfiguration applicationConfiguration)


Copyright © 2003-2004 mmapps. All Rights Reserved.