org.jtheque.core.managers.core
Interface ICore

All Known Implementing Classes:
Core

public interface ICore

A core specification.

Author:
Baptiste Wicht

Method Summary
 void addCreditsMessage(java.lang.String key)
          Add an internationalized credits message.
 Application getApplication()
          Return the current application.
 CoreConfiguration getConfiguration()
          Return the configuration of the core.
 org.jtheque.utils.bean.Version getCoreCurrentVersion()
          Return the version of the core.
 java.lang.String getCoreMessageFileURL()
          Return the messages file url for the core.
 java.util.List<java.lang.String> getCreditsMessage()
          Return all the credits message.
 IFilesContainer getFiles()
          Return the files of the application.
 IFoldersContainer getFolders()
          Return the folders of the application.
 java.lang.String getImagesBaseName()
          Return the base name for the images.
 ILifeCycleManager getLifeCycleManager()
          Return the manager of the life cycle.
 boolean isCompatibleWith(org.jtheque.utils.bean.Version version)
          Indicate if the current version of the core is compatible with an other version.
 void launchJThequeCore(Application application)
          Launch the JTheque Core.
 

Method Detail

getCoreCurrentVersion

org.jtheque.utils.bean.Version getCoreCurrentVersion()
Return the version of the core.

Returns:
The version of the core.

launchJThequeCore

void launchJThequeCore(Application application)
Launch the JTheque Core.

Parameters:
application - The application to launch.

getCoreMessageFileURL

java.lang.String getCoreMessageFileURL()
Return the messages file url for the core.

Returns:
The URL to the messages files of the core.

getFolders

IFoldersContainer getFolders()
Return the folders of the application.

Returns:
The folders of the application.

getFiles

IFilesContainer getFiles()
Return the files of the application.

Returns:
The files of the application.

addCreditsMessage

void addCreditsMessage(java.lang.String key)
Add an internationalized credits message.

Parameters:
key - The internationalized key.

getCreditsMessage

java.util.List<java.lang.String> getCreditsMessage()
Return all the credits message.

Returns:
A List containing all the credits message.

isCompatibleWith

boolean isCompatibleWith(org.jtheque.utils.bean.Version version)
Indicate if the current version of the core is compatible with an other version.

Parameters:
version - The version to test the compatibility with.
Returns:
true if the current version is compatible with the other version.

getApplication

Application getApplication()
Return the current application.

Returns:
The current application.

getLifeCycleManager

ILifeCycleManager getLifeCycleManager()
Return the manager of the life cycle.

Returns:
The manager of the life cycle.

getImagesBaseName

java.lang.String getImagesBaseName()
Return the base name for the images.

Returns:
The basename for the images.

getConfiguration

CoreConfiguration getConfiguration()
Return the configuration of the core.

Returns:
The configuration of the core.


Copyright © 2009 JTheque. All Rights Reserved.