Interface PublisherService
-
- All Known Implementing Classes:
PublisherServiceImpl
public interface PublisherService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Collection<DependencySeed>
publishCategories(java.io.File categoryDefinition)
Publishes given category definitions.java.util.Collection<DependencySeed>
publishEEProfile(java.io.File profileFile)
Deprecated, for removal: This API element is subject to removal in a future version.usepublishEEProfile(ExecutionEnvironment)
instead because profile files are not reliable with modular Javajava.util.Collection<DependencySeed>
publishEEProfile(java.lang.String profileName)
Deprecated, for removal: This API element is subject to removal in a future version.usepublishEEProfile(ExecutionEnvironment)
instead because profile files are not reliable with modular Javajava.util.Collection<DependencySeed>
publishEEProfile(ExecutionEnvironment ee)
Publishes the given OSGi execution environment profile.
-
-
-
Method Detail
-
publishCategories
java.util.Collection<DependencySeed> publishCategories(java.io.File categoryDefinition) throws FacadeException
Publishes given category definitions.- Parameters:
categoryDefinition
- A category.xml file as defined by the Eclipse PDE- Returns:
- handles to the root IUs in the publisher result
- Throws:
FacadeException
- if a checked exception occurs during publishing
-
publishEEProfile
@Deprecated(since="2.2.0", forRemoval=true) java.util.Collection<DependencySeed> publishEEProfile(java.io.File profileFile) throws FacadeException
Deprecated, for removal: This API element is subject to removal in a future version.usepublishEEProfile(ExecutionEnvironment)
instead because profile files are not reliable with modular JavaPublishes the given OSGi execution environment profile file.- Parameters:
profileFile
- the .profile file- Returns:
- handles to the root IUs in the publisher result
- Throws:
FacadeException
- if a checked exception occurs during publishing
-
publishEEProfile
@Deprecated(since="2.2.0", forRemoval=true) java.util.Collection<DependencySeed> publishEEProfile(java.lang.String profileName) throws FacadeException
Deprecated, for removal: This API element is subject to removal in a future version.usepublishEEProfile(ExecutionEnvironment)
instead because profile files are not reliable with modular JavaPublishes the given OSGi execution environment profile.- Parameters:
profilename
- the profile name- Returns:
- handles to the root IUs in the publisher result
- Throws:
FacadeException
- if a checked exception occurs during publishing
-
publishEEProfile
java.util.Collection<DependencySeed> publishEEProfile(ExecutionEnvironment ee) throws FacadeException
Publishes the given OSGi execution environment profile.- Parameters:
profilename
- the profile name- Returns:
- handles to the root IUs in the publisher result
- Throws:
FacadeException
- if a checked exception occurs during publishing
-
-