Class RepositoryAdapter
java.lang.Object
com.xebialabs.deployit.repository.RepositoryAdapter
- All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.deployment.planning.ReadOnlyRepository,com.xebialabs.deployit.plugin.api.services.Repository
public class RepositoryAdapter
extends Object
implements com.xebialabs.deployit.plugin.api.services.Repository
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryAdapter(RepositoryService repositoryService, com.xebialabs.deployit.service.validation.Validator validator, ExternalPropertiesResolver externalPropertiesResolver, com.xebialabs.deployit.repository.WorkDir workDir) -
Method Summary
Modifier and TypeMethodDescriptionfinal <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
voidcreate(T... entity) final <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
voidcreateOrUpdate(T... entity) voidbooleanvoid<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
T<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
List<T>void<T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
List<T>search(com.xebialabs.deployit.plugin.api.reflect.Type type) <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
List<T>final <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem>
voidupdate(T... entity)
-
Constructor Details
-
RepositoryAdapter
public RepositoryAdapter(RepositoryService repositoryService, com.xebialabs.deployit.service.validation.Validator validator, ExternalPropertiesResolver externalPropertiesResolver, com.xebialabs.deployit.repository.WorkDir workDir)
-
-
Method Details
-
exists
- Specified by:
existsin interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
read
- Specified by:
readin interfacecom.xebialabs.deployit.plugin.api.deployment.planning.ReadOnlyRepository- Specified by:
readin interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
read
public <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> List<T> read(List<String> ids, Integer depth) - Specified by:
readin interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
create
@SafeVarargs public final <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void create(T... entity) - Specified by:
createin interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
update
@SafeVarargs public final <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void update(T... entity) - Specified by:
updatein interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
createOrUpdate
@SafeVarargs public final <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> void createOrUpdate(T... entity) - Specified by:
createOrUpdatein interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
delete
- Specified by:
deletein interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
move
- Specified by:
movein interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
rename
- Specified by:
renamein interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
search
public <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> List<T> search(com.xebialabs.deployit.plugin.api.reflect.Type type) - Specified by:
searchin interfacecom.xebialabs.deployit.plugin.api.deployment.planning.ReadOnlyRepository- Specified by:
searchin interfacecom.xebialabs.deployit.plugin.api.services.Repository
-
search
public <T extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> List<T> search(com.xebialabs.deployit.plugin.api.reflect.Type type, String parent) - Specified by:
searchin interfacecom.xebialabs.deployit.plugin.api.deployment.planning.ReadOnlyRepository- Specified by:
searchin interfacecom.xebialabs.deployit.plugin.api.services.Repository
-