com.izforge.izpack.installer.requirement
Class ExpiredChecker

java.lang.Object
  extended by com.izforge.izpack.installer.requirement.ExpiredChecker
All Implemented Interfaces:
RequirementChecker

public class ExpiredChecker
extends Object
implements RequirementChecker

Verifies that the installer has not expired.

Author:
Bill Root

Constructor Summary
ExpiredChecker(InstallData installData, Prompt prompt)
          Constructs a ExpiredChecker.
 
Method Summary
 boolean check()
          Determines whether the installer expires, and if so, whether it has.
protected  void showExpired()
          Invoked when the installer has expired.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpiredChecker

public ExpiredChecker(InstallData installData,
                      Prompt prompt)
Constructs a ExpiredChecker.

Parameters:
installData - the installation data
prompt - the prompt
Method Detail

check

public boolean check()
Determines whether the installer expires, and if so, whether it has.

Specified by:
check in interface RequirementChecker
Returns:
true if installer has NOT expired, otherwise false

showExpired

protected void showExpired()
Invoked when the installer has expired.

This tells the user why we're canceling.



Copyright © 2018. All rights reserved.