hoplugins.teamAnalyzer
Class SystemManager

java.lang.Object
  extended byhoplugins.teamAnalyzer.SystemManager

public class SystemManager
extends java.lang.Object

This is a class where all the relevant and shared plugin info are kept

Author:
Massimiliano Amato

Constructor Summary
SystemManager()
           
 
Method Summary
static int getActiveTeamId()
          Get the active team ID
static java.lang.String getActiveTeamName()
          Get the active team Name
static PluginConfiguration getConfig()
          Returns the plugin configuration
static int getCupOpponentId()
          Get next cup/friendly opponent team Id
static Filter getFilter()
          Returns the actual filter settings
static int getLeagueOpponentId()
          Get next league opponent team Id
static hoplugins.TeamAnalyzer getPlugin()
          Returns the main Plugin class
static void initialize(hoplugins.TeamAnalyzer aPlugin)
          Initialize the instance
static void refresh()
          Refresh all the plugins data after an event
static void refreshData()
          Refrwsh only the data without recalculating everything
static void setActiveTeam(Team team)
          Set the active team
static void setConfig(PluginConfiguration configuration)
          Update the plugin configuration
static void updateReport()
          Recalculate the report
static void updateUI()
          Update the UI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemManager

public SystemManager()
Method Detail

setActiveTeam

public static void setActiveTeam(Team team)
Set the active team

Parameters:
team -

getActiveTeamId

public static int getActiveTeamId()
Get the active team ID

Returns:

getActiveTeamName

public static java.lang.String getActiveTeamName()
Get the active team Name

Returns:

setConfig

public static void setConfig(PluginConfiguration configuration)
Update the plugin configuration

Parameters:
configuration -

getConfig

public static PluginConfiguration getConfig()
Returns the plugin configuration

Returns:

getCupOpponentId

public static int getCupOpponentId()
Get next cup/friendly opponent team Id

Returns:

getFilter

public static Filter getFilter()
Returns the actual filter settings

Returns:

getLeagueOpponentId

public static int getLeagueOpponentId()
Get next league opponent team Id

Returns:

getPlugin

public static hoplugins.TeamAnalyzer getPlugin()
Returns the main Plugin class

Returns:

initialize

public static void initialize(hoplugins.TeamAnalyzer aPlugin)
Initialize the instance

Parameters:
aPlugin - main plugin class

refresh

public static void refresh()
Refresh all the plugins data after an event


refreshData

public static void refreshData()
Refrwsh only the data without recalculating everything


updateReport

public static void updateReport()
Recalculate the report


updateUI

public static void updateUI()
Update the UI



Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.