当前位置: 首页>>代码示例>>Java>>正文


Java Pack类代码示例

本文整理汇总了Java中com.izforge.izpack.api.data.Pack的典型用法代码示例。如果您正苦于以下问题:Java Pack类的具体用法?Java Pack怎么用?Java Pack使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


Pack类属于com.izforge.izpack.api.data包,在下文中一共展示了Pack类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: afterPacks

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void afterPacks(final List<Pack> packs, final ProgressListener progressListener) {
    try {
        progressListener.startAction("Konfigurace RoboZonky", 7);
        progressListener.nextStep("Příprava strategie.", 1, 1);
        final CommandLinePart strategyConfig = prepareStrategy();
        progressListener.nextStep("Příprava nastavení e-mailu.", 2, 1);
        final CommandLinePart emailConfig = prepareEmailConfiguration();
        progressListener.nextStep("Příprava nastavení JMX.", 3, 1);
        final CommandLinePart jmx = prepareJmx();
        progressListener.nextStep("Příprava nastavení Zonky.", 4, 1);
        final CommandLinePart credentials = prepareCore();
        progressListener.nextStep("Příprava nastavení logování.", 5, 1);
        final CommandLinePart logging = prepareLogging();
        progressListener.nextStep("Generování parametrů příkazové řádky.", 6, 1);
        final CommandLinePart result = prepareCommandLine(strategyConfig, emailConfig, jmx, credentials, logging);
        progressListener.nextStep("Generování spustitelného souboru.", 7, 1);
        prepareRunScript(result);
        progressListener.stopAction();
    } catch (final Exception ex) {
        LOGGER.log(Level.SEVERE, "Uncaught exception.", ex);
        throw new IllegalStateException("Uncaught exception.", ex);
    }
}
 
开发者ID:RoboZonky,项目名称:robozonky,代码行数:25,代码来源:RoboZonkyInstallerListener.java

示例2: beforePacks

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void beforePacks(List<Pack> arg0) {

    try {
        Runtime.getRuntime().exec("/etc/init.d/open-xchange stop");
    }
    catch (IOException e) {
    }

}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-open-xchange,代码行数:11,代码来源:LatchInstallerListener.java

示例3: afterDir

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
public void afterDir(final File dir, final PackFile packFile,
		final Pack pack) {
	getLogger().logInfo(this, "afterDir",
			"+++ TargetPath=[%s] Pack.name=[%s]", packFile.getTargetPath(),
			pack.getName());

}
 
开发者ID:isandlaTech,项目名称:cohorte-utilities,代码行数:8,代码来源:CListenerInstaller.java

示例4: afterFile

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
public void afterFile(final File file, final PackFile packFile,
		final Pack pack) {
	getLogger().logInfo(this, "afterFile",
			"+++ TargetPath=[%s] Pack.name=[%s]", packFile.getTargetPath(),
			pack.getName());

}
 
开发者ID:isandlaTech,项目名称:cohorte-utilities,代码行数:8,代码来源:CListenerInstaller.java

示例5: beforeDir

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
public void beforeDir(final File dir, final PackFile packFile,
		final Pack pack) {
	getLogger().logInfo(this, "beforeDir",
			"+++ dir=[%s] TargetPath=[%s] Pack.name=[%s]", dir.getName(),
			packFile.getTargetPath(), pack.getName());

}
 
开发者ID:isandlaTech,项目名称:cohorte-utilities,代码行数:8,代码来源:CListenerInstaller.java

示例6: beforeFile

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
public void beforeFile(final File file, final PackFile packFile,
		final Pack pack) {
	getLogger().logInfo(this, "beforeFile",
			"+++ file=[%s] TargetPath=[%s] Pack.name=[%s]", file.getName(),
			packFile.getTargetPath(), pack.getName());

}
 
开发者ID:isandlaTech,项目名称:cohorte-utilities,代码行数:8,代码来源:CListenerInstaller.java

示例7: afterDir

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void afterDir(File arg0, PackFile arg1, Pack arg2) {
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-open-xchange,代码行数:4,代码来源:LatchInstallerListener.java

示例8: afterFile

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void afterFile(File arg0, PackFile arg1, Pack arg2) {
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-open-xchange,代码行数:4,代码来源:LatchInstallerListener.java

示例9: afterPack

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void afterPack(Pack arg0, int arg1) {
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-open-xchange,代码行数:4,代码来源:LatchInstallerListener.java

示例10: afterPacks

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void afterPacks(List<Pack> arg0, ProgressListener arg1) {
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-open-xchange,代码行数:4,代码来源:LatchInstallerListener.java

示例11: beforeDir

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void beforeDir(File arg0, PackFile arg1, Pack arg2) {
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-open-xchange,代码行数:4,代码来源:LatchInstallerListener.java

示例12: beforeFile

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void beforeFile(File arg0, PackFile arg1, Pack arg2) {
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-open-xchange,代码行数:4,代码来源:LatchInstallerListener.java

示例13: beforePack

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
@Override
public void beforePack(Pack arg0, int arg1) {
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-open-xchange,代码行数:4,代码来源:LatchInstallerListener.java

示例14: afterPack

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
public void afterPack(final Pack pack, final int index) {
	getLogger().logInfo(this, "afterPack", "+++ Pack.name=[%s] index=[%s]",
			pack.getName(), index);
}
 
开发者ID:isandlaTech,项目名称:cohorte-utilities,代码行数:5,代码来源:CListenerInstaller.java

示例15: afterPacks

import com.izforge.izpack.api.data.Pack; //导入依赖的package包/类
public void afterPacks(final List<Pack> packs,
		final ProgressListener listener) {
	getLogger().logInfo(this, "afterPacks", "+++ packs.size=[%s]",
			packs.size());
}
 
开发者ID:isandlaTech,项目名称:cohorte-utilities,代码行数:6,代码来源:CListenerInstaller.java


注:本文中的com.izforge.izpack.api.data.Pack类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。