class OsgiConfigInstallableParams implements SlingInstallableParams<OsgiConfigInstallable> {

    @NotNull
    @Override
    public OsgiConfigInstallable createInstallable(final PackageId parentPackageId, final String jcrPath)
            throws Exception {
        if (parseError != null) {
            throw parseError;
        }
        return new OsgiConfigInstallable(parentPackageId, jcrPath, properties, servicePid, factoryPid);
    }

    public  OsgiConfigInstallableParams(@NotNull final Map<String, Object> properties,
                                       @NotNull final String servicePid,
                                       @Nullable final String factoryPid,
                                       @Nullable final Exception parseError);

}