/** * @param filterOnPlatform * @return target platform if {@code filterOnPlatform==true} else null * @since 5.6 */ private String getTargetPlatform(Boolean filterOnPlatform) { if (filterOnPlatform != Boolean.TRUE) { return null; } return PlatformVersionHelper.getPlatformFilter(); }
public String getApplicationName() { return PlatformVersionHelper.getApplicationName(); }
public String getApplicationVersion() { return PlatformVersionHelper.getApplicationVersion(); }
public static String getPlatformFilter() { if (getDistributionName().equals(UNKNOWN)) { return null; } return getDistributionName() + "-" + getDistributionVersion(); }
/** * @deprecated Since 6.0. Use {@link TargetPlatformFilterHelper#isCompatibleWithTargetPlatform(String[], String)} * @see #getPlatformFilter() * @see TargetPlatformFilterHelper */ @Deprecated public static boolean isCompatible(String[] targetPlatforms) { return isCompatible(targetPlatforms, getPlatformFilter()); }
public String getDistributionVersion() { return PlatformVersionHelper.getDistributionVersion(); }
public String getDistributionName() { return PlatformVersionHelper.getDistributionName(); }
public String getDistributionHost() { return PlatformVersionHelper.getDistributionHost(); }
public String getDistributionDate() { return PlatformVersionHelper.getDistributionDate(); }
public static String getPlatformFilter() { if (getDistributionName().equals(UNKNOWN)) { return null; } return getDistributionName() + "-" + getDistributionVersion(); }
/** * @deprecated Since 6.0. Use {@link TargetPlatformFilterHelper#isCompatibleWithTargetPlatform(String[], String)} * @see #getPlatformFilter() * @see TargetPlatformFilterHelper */ @Deprecated public static boolean isCompatible(String[] targetPlatforms) { return isCompatible(targetPlatforms, getPlatformFilter()); }
public String getDistributionVersion() { return PlatformVersionHelper.getDistributionVersion(); }
public String getDistributionName() { return PlatformVersionHelper.getDistributionName(); }
public String getDistributionHost() { return PlatformVersionHelper.getDistributionHost(); }
public String getDistributionDate() { return PlatformVersionHelper.getDistributionDate(); }
/** * @param filterOnPlatform * @return */ private String getTargetPlatform(Boolean filterOnPlatform) { if (filterOnPlatform != Boolean.TRUE) { return null; } return PlatformVersionHelper.getPlatformFilter(); }
public String getDistributionLabel() { return PlatformVersionHelper.getDistributionName().toUpperCase() + " " + PlatformVersionHelper.getDistributionVersion(); }
public String getDistributionVersion() { return PlatformVersionHelper.getDistributionVersion(); }
public String getDistributionName() { return PlatformVersionHelper.getDistributionName().toUpperCase(); }
public String getApplicationVersion() { return PlatformVersionHelper.getApplicationVersion(); }