public static FrameworkStartLevelDTO newFrameworkStartLevelDTO(FrameworkStartLevel fsl) { if (fsl == null) { return null; } FrameworkStartLevelDTO dto = new FrameworkStartLevelDTO(); dto.initialBundleStartLevel = fsl.getInitialBundleStartLevel(); dto.startLevel = fsl.getStartLevel(); return dto; }
public static BundleStartLevelDTO newBundleStartLevelDTO(Bundle b, BundleStartLevel bsl) { if (bsl == null) { return null; } BundleStartLevelDTO dto = new BundleStartLevelDTO(); dto.bundle = b.getBundleId(); dto.activationPolicyUsed = bsl.isActivationPolicyUsed(); dto.persistentlyStarted = bsl.isPersistentlyStarted(); dto.startLevel = bsl.getStartLevel(); return dto; }
public static FrameworkStartLevelDTO newFrameworkStartLevelDTO(FrameworkStartLevel fsl) { if (fsl == null) { return null; } FrameworkStartLevelDTO dto = new FrameworkStartLevelDTO(); dto.initialBundleStartLevel = fsl.getInitialBundleStartLevel(); dto.startLevel = fsl.getStartLevel(); return dto; }
public static BundleStartLevelDTO newBundleStartLevelDTO(Bundle b, BundleStartLevel bsl) { if (bsl == null) { return null; } BundleStartLevelDTO dto = new BundleStartLevelDTO(); dto.bundle = b.getBundleId(); dto.activationPolicyUsed = bsl.isActivationPolicyUsed(); dto.persistentlyStarted = bsl.isPersistentlyStarted(); dto.startLevel = bsl.getStartLevel(); return dto; }
public static FrameworkStartLevelDTO newFrameworkStartLevelDTO(FrameworkStartLevel fsl) { if (fsl == null) { return null; } FrameworkStartLevelDTO dto = new FrameworkStartLevelDTO(); dto.initialBundleStartLevel = fsl.getInitialBundleStartLevel(); dto.startLevel = fsl.getStartLevel(); return dto; }
public static BundleStartLevelDTO newBundleStartLevelDTO(Bundle b, BundleStartLevel bsl) { if (bsl == null) { return null; } BundleStartLevelDTO dto = new BundleStartLevelDTO(); dto.bundle = b.getBundleId(); dto.activationPolicyUsed = bsl.isActivationPolicyUsed(); dto.persistentlyStarted = bsl.isPersistentlyStarted(); dto.startLevel = bsl.getStartLevel(); return dto; }
public static FrameworkStartLevelDTO newFrameworkStartLevelDTO(FrameworkStartLevel fsl) { if (fsl == null) { return null; } FrameworkStartLevelDTO dto = new FrameworkStartLevelDTO(); dto.initialBundleStartLevel = fsl.getInitialBundleStartLevel(); dto.startLevel = fsl.getStartLevel(); return dto; }
public static BundleStartLevelDTO newBundleStartLevelDTO(Bundle b, BundleStartLevel bsl) { if (bsl == null) { return null; } BundleStartLevelDTO dto = new BundleStartLevelDTO(); dto.bundle = b.getBundleId(); dto.activationPolicyUsed = bsl.isActivationPolicyUsed(); dto.persistentlyStarted = bsl.isPersistentlyStarted(); dto.startLevel = bsl.getStartLevel(); return dto; }
public static FrameworkStartLevelDTO newFrameworkStartLevelDTO(FrameworkStartLevel fsl) { if (fsl == null) { return null; } FrameworkStartLevelDTO dto = new FrameworkStartLevelDTO(); dto.initialBundleStartLevel = fsl.getInitialBundleStartLevel(); dto.startLevel = fsl.getStartLevel(); return dto; }
public static BundleStartLevelDTO newBundleStartLevelDTO(Bundle b, BundleStartLevel bsl) { if (bsl == null) { return null; } BundleStartLevelDTO dto = new BundleStartLevelDTO(); dto.bundle = b.getBundleId(); dto.activationPolicyUsed = bsl.isActivationPolicyUsed(); dto.persistentlyStarted = bsl.isPersistentlyStarted(); dto.startLevel = bsl.getStartLevel(); return dto; }
public static FrameworkStartLevelDTO newFrameworkStartLevelDTO(FrameworkStartLevel fsl) { if (fsl == null) { return null; } FrameworkStartLevelDTO dto = new FrameworkStartLevelDTO(); dto.initialBundleStartLevel = fsl.getInitialBundleStartLevel(); dto.startLevel = fsl.getStartLevel(); return dto; }
public static BundleStartLevelDTO newBundleStartLevelDTO(Bundle b, BundleStartLevel bsl) { if (bsl == null) { return null; } BundleStartLevelDTO dto = new BundleStartLevelDTO(); dto.bundle = b.getBundleId(); dto.activationPolicyUsed = bsl.isActivationPolicyUsed(); dto.persistentlyStarted = bsl.isPersistentlyStarted(); dto.startLevel = bsl.getStartLevel(); return dto; }
private static FrameworkStartLevelDTO createFrameworkStartLevelDTO(Framework framework) { FrameworkStartLevel fsl = framework.adapt(FrameworkStartLevel.class); FrameworkStartLevelDTO dto = new FrameworkStartLevelDTO(); dto.initialBundleStartLevel = fsl.getInitialBundleStartLevel(); dto.startLevel = fsl.getStartLevel(); return dto; }
private static BundleStartLevelDTO createBundleStartLevelDTO(Bundle bundle) { BundleStartLevelDTO dto = new BundleStartLevelDTO(); dto.bundle = bundle.getBundleId(); BundleStartLevel sl = bundle.adapt(BundleStartLevel.class); dto.activationPolicyUsed = sl.isActivationPolicyUsed(); dto.persistentlyStarted = sl.isPersistentlyStarted(); dto.startLevel = sl.getStartLevel(); return dto; }