Package com.tommytony.war.job

Examples of com.tommytony.war.job.RestoreYmlWarhubJob


    War.war.getTeamDefaultConfig().loadFrom(teamConfigSection);

    // warhub
    ConfigurationSection hubConfigSection = warRootSection.getConfigurationSection("war.info.warhub");
    if (hubConfigSection != null) {
      RestoreYmlWarhubJob restoreWarhub = new RestoreYmlWarhubJob(hubConfigSection);
      if (War.war.getServer().getScheduler().scheduleSyncDelayedTask(War.war, restoreWarhub, 20) == -1) {
        War.war.log("Failed to schedule warhub-restore job. War hub was not loaded.", Level.WARNING);
      }
    }
View Full Code Here

TOP

Related Classes of com.tommytony.war.job.RestoreYmlWarhubJob

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.