com.jp.protection.priv
Class ProtectionLauncherConfigBuilder

java.lang.Object
  extended by com.jp.protection.priv.ProtectionLauncherConfigBuilder

public class ProtectionLauncherConfigBuilder
extends java.lang.Object


Field Summary
protected  Product fProduct
           
protected  boolean fProfessionalEdition
           
(package private)  java.util.Vector fProtectionLauncherConfigBuilderListeners
           
 
Constructor Summary
ProtectionLauncherConfigBuilder(Product aProduct, boolean aProfessionalEdition)
           
 
Method Summary
 void addProtectionLauncherConfigBuilderListener(ProtectionLauncherConfigBuilderListener l)
           
 void build(ProtectionLauncherBuildConfig aBuildConfig, java.lang.String aTarget)
           
 void build(ProtectionLauncherBuildConfig aBuildConfig, java.lang.String aTarget, java.lang.String anSecurityAlgorithm, byte[] anEncryptKeyBytes)
           
protected  void fireBuildFinished(ProtectionLauncherBuildConfig aBuildConfig, boolean isSuccess)
           
protected  void fireBuildStarted(ProtectionLauncherBuildConfig aBuildConfig)
           
protected  void fireOnError(java.lang.String aMessage)
           
protected  void fireOnError(java.lang.Throwable anException)
           
 Product getProduct()
           
protected  boolean isProfessionalEdition()
           
 void removeProtectionLauncherConfigBuilderListener(ProtectionLauncherConfigBuilderListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fProduct

protected Product fProduct

fProfessionalEdition

protected boolean fProfessionalEdition

fProtectionLauncherConfigBuilderListeners

transient java.util.Vector fProtectionLauncherConfigBuilderListeners
Constructor Detail

ProtectionLauncherConfigBuilder

public ProtectionLauncherConfigBuilder(Product aProduct,
                                       boolean aProfessionalEdition)
Method Detail

getProduct

public Product getProduct()

build

public void build(ProtectionLauncherBuildConfig aBuildConfig,
                  java.lang.String aTarget)
           throws java.io.IOException
Throws:
java.io.IOException

build

public void build(ProtectionLauncherBuildConfig aBuildConfig,
                  java.lang.String aTarget,
                  java.lang.String anSecurityAlgorithm,
                  byte[] anEncryptKeyBytes)
           throws java.io.IOException
Throws:
java.io.IOException

isProfessionalEdition

protected boolean isProfessionalEdition()

addProtectionLauncherConfigBuilderListener

public void addProtectionLauncherConfigBuilderListener(ProtectionLauncherConfigBuilderListener l)

removeProtectionLauncherConfigBuilderListener

public void removeProtectionLauncherConfigBuilderListener(ProtectionLauncherConfigBuilderListener l)

fireBuildStarted

protected void fireBuildStarted(ProtectionLauncherBuildConfig aBuildConfig)

fireBuildFinished

protected void fireBuildFinished(ProtectionLauncherBuildConfig aBuildConfig,
                                 boolean isSuccess)

fireOnError

protected void fireOnError(java.lang.String aMessage)

fireOnError

protected void fireOnError(java.lang.Throwable anException)