org.eclipse.sisu.equinox.launching.BundleStartLevel Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2008, 2011 Sonatype Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Sonatype Inc. - initial API and implementation
*******************************************************************************/
package org.eclipse.sisu.equinox.launching;
public class BundleStartLevel {
/**
* Bundle symbolic name.
*/
private String id;
/**
* Bundle start level. level==-1 is used to remove org.eclipse.org bundle from osgi.bundles
* system property value.
*/
private int level;
/**
* Bundle auto start.
*/
private boolean autoStart;
public BundleStartLevel() {
// default constructor used by mojo parameter injection
}
public BundleStartLevel(String id, int level, boolean autoStart) {
this.id = id;
this.level = level;
this.setAutoStart(autoStart);
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public int getLevel() {
return level;
}
public void setLevel(int level) {
this.level = level;
}
public void setAutoStart(boolean autoStart) {
this.autoStart = autoStart;
}
public boolean isAutoStart() {
return autoStart;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy