@ApplicationScoped public class DDEditorServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<DeploymentDescriptorModel> implements DDEditorService
| Modifier and Type | Field and Description |
|---|---|
static String |
I18N_KEY_MISSING_IDENTIFIER |
static String |
I18N_KEY_MISSING_NAME |
static String |
I18N_KEY_MISSING_RESOLVER |
static String |
I18N_KEY_NOT_VALID_MVEL_IDENTIFIER |
static String |
I18N_KEY_NOT_VALID_REFLECTION_IDENTIFIER |
static String |
I18N_KEY_NOT_VALID_RESOLVER |
static String |
I18N_KEY_UNEXPECTED_ERROR |
| Constructor and Description |
|---|
DDEditorServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(org.uberfire.backend.vfs.Path path) |
protected DeploymentDescriptorModel |
constructContent(org.uberfire.backend.vfs.Path path,
org.guvnor.common.services.shared.metadata.model.Overview overview) |
void |
createIfNotExists(org.uberfire.backend.vfs.Path path) |
DeploymentDescriptorModel |
load(org.uberfire.backend.vfs.Path path) |
protected DeploymentDescriptorModel |
marshal(org.kie.internal.runtime.conf.DeploymentDescriptor originDD) |
protected org.guvnor.common.services.shared.validation.model.ValidationMessage |
newMessage(org.uberfire.backend.vfs.Path path,
String text,
org.guvnor.common.services.shared.message.Level level,
String key,
Object... args) |
org.uberfire.backend.vfs.Path |
save(org.uberfire.backend.vfs.Path path,
DeploymentDescriptorModel content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
org.uberfire.java.nio.base.options.CommentedOption commentedOption) |
org.uberfire.backend.vfs.Path |
save(org.uberfire.backend.vfs.Path path,
DeploymentDescriptorModel content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment) |
String |
toSource(org.uberfire.backend.vfs.Path path,
DeploymentDescriptorModel model) |
protected org.kie.internal.runtime.conf.DeploymentDescriptor |
unmarshal(org.uberfire.backend.vfs.Path path,
DeploymentDescriptorModel model) |
List<org.guvnor.common.services.shared.validation.model.ValidationMessage> |
validate(org.uberfire.backend.vfs.Path path) |
List<org.guvnor.common.services.shared.validation.model.ValidationMessage> |
validate(org.uberfire.backend.vfs.Path path,
DeploymentDescriptorModel content) |
protected List<org.guvnor.common.services.shared.validation.model.ValidationMessage> |
validateObjectModels(org.uberfire.backend.vfs.Path path,
List<? extends org.kie.internal.runtime.conf.ObjectModel> objectModels) |
public static final String I18N_KEY_MISSING_IDENTIFIER
public static final String I18N_KEY_MISSING_RESOLVER
public static final String I18N_KEY_NOT_VALID_RESOLVER
public static final String I18N_KEY_NOT_VALID_REFLECTION_IDENTIFIER
public static final String I18N_KEY_NOT_VALID_MVEL_IDENTIFIER
public static final String I18N_KEY_MISSING_NAME
public static final String I18N_KEY_UNEXPECTED_ERROR
public DeploymentDescriptorModel load(org.uberfire.backend.vfs.Path path)
load in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<DeploymentDescriptorModel>protected DeploymentDescriptorModel constructContent(org.uberfire.backend.vfs.Path path, org.guvnor.common.services.shared.metadata.model.Overview overview)
constructContent in class org.kie.workbench.common.services.backend.service.KieService<DeploymentDescriptorModel>public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path path,
DeploymentDescriptorModel content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment)
save in interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate<DeploymentDescriptorModel,org.guvnor.common.services.shared.metadata.model.Metadata>public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path path,
DeploymentDescriptorModel content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
org.uberfire.java.nio.base.options.CommentedOption commentedOption)
public List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path, DeploymentDescriptorModel content)
validate in interface org.guvnor.common.services.shared.validation.ValidationService<DeploymentDescriptorModel>public String toSource(org.uberfire.backend.vfs.Path path, DeploymentDescriptorModel model)
toSource in interface org.kie.workbench.common.services.shared.source.ViewSourceService<DeploymentDescriptorModel>protected List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validateObjectModels(org.uberfire.backend.vfs.Path path, List<? extends org.kie.internal.runtime.conf.ObjectModel> objectModels)
protected org.guvnor.common.services.shared.validation.model.ValidationMessage newMessage(org.uberfire.backend.vfs.Path path,
String text,
org.guvnor.common.services.shared.message.Level level,
String key,
Object... args)
protected DeploymentDescriptorModel marshal(org.kie.internal.runtime.conf.DeploymentDescriptor originDD)
protected org.kie.internal.runtime.conf.DeploymentDescriptor unmarshal(org.uberfire.backend.vfs.Path path,
DeploymentDescriptorModel model)
public void createIfNotExists(org.uberfire.backend.vfs.Path path)
createIfNotExists in interface DDEditorServicepublic boolean accepts(org.uberfire.backend.vfs.Path path)
accepts in interface org.guvnor.common.services.project.builder.service.BuildValidationHelperpublic List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validate(org.uberfire.backend.vfs.Path path)
validate in interface org.guvnor.common.services.project.builder.service.BuildValidationHelperCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.