public final class

Licensing

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.client.Licensing

Class Overview

Read-only informational JEB licensing information.

Summary

Fields
public static int build_type
public static String buildkey
public static boolean hasDecompArm
public static boolean hasDecompDex
public static boolean hasDecompEvm
public static boolean hasDecompMips
public static boolean hasDecompRiscv
public static boolean hasDecompS7
public static boolean hasDecompWasm
public static boolean hasDecompX86
public static long license_id
public static int loaded
public static int user_count
public static String user_email
public static String user_group
public static int user_id
public static String user_name
Public Constructors
Licensing()
Public Methods
final static boolean allowAnyClient()
final static boolean canUseCoreAPI()
final static int getBuildType()
final static String getBuildTypeString()
static String getChangeList()
final static int getExpirationTimestamp()
If license_validity is not set (ie, infinite validity), then this function will never return an expiration timestamp.
static String getLicense()
final static int getLicenseTimestamp()
final static boolean isAirgapBuild()
static boolean isCommonBuild()
final static boolean isCommunityEdition()
final static boolean isDebugBuild()
final static boolean isDemoBuild()
final static boolean isFloatingBuild()
final static boolean isFree()
final static boolean isFullBuild()
final static boolean isIndividualBuild()
final static boolean isInternetRequired()
final static boolean isPerpetual()
final static boolean isPro()
final static boolean isReleaseBuild()
final static boolean isSubscription()
final static void setLicenseTimestamp(int ts)
Update the actual license start date, if it does not have one already.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static int build_type

public static String buildkey

public static boolean hasDecompArm

public static boolean hasDecompDex

public static boolean hasDecompEvm

public static boolean hasDecompMips

public static boolean hasDecompRiscv

public static boolean hasDecompS7

public static boolean hasDecompWasm

public static boolean hasDecompX86

public static long license_id

public static int loaded

public static int user_count

public static String user_email

public static String user_group

public static int user_id

public static String user_name

Public Constructors

public Licensing ()

Public Methods

public static final boolean allowAnyClient ()

public static final boolean canUseCoreAPI ()

public static final int getBuildType ()

public static final String getBuildTypeString ()

public static String getChangeList ()

public static final int getExpirationTimestamp ()

If license_validity is not set (ie, infinite validity), then this function will never return an expiration timestamp.

Returns
  • the epoch timestamp in seconds, 0 if none

public static String getLicense ()

public static final int getLicenseTimestamp ()

public static final boolean isAirgapBuild ()

public static boolean isCommonBuild ()

public static final boolean isCommunityEdition ()

public static final boolean isDebugBuild ()

public static final boolean isDemoBuild ()

public static final boolean isFloatingBuild ()

public static final boolean isFree ()

public static final boolean isFullBuild ()

public static final boolean isIndividualBuild ()

public static final boolean isInternetRequired ()

public static final boolean isPerpetual ()

public static final boolean isPro ()

public static final boolean isReleaseBuild ()

public static final boolean isSubscription ()

public static final void setLicenseTimestamp (int ts)

Update the actual license start date, if it does not have one already. In the general case (standard release builds), the start date is pulled from jeb-license.txt. The main exception is for demo builds, where the POP start date will be dynamically set when the license key is generated. POP end checks are based on those timestamps.

Parameters
ts new license start date