| Modifier and Type | Method and Description |
|---|---|
boolean |
ArtifactAccessor.artifactExists(ScopeType scopeType,
long artifactId) |
SDependency |
DependencyService.createMappedDependency(String name,
byte[] jarContent,
String fileName,
long artifactId,
ScopeType scopeType) |
void |
DependencyService.deleteDependencies(long id,
ScopeType type) |
List<Long> |
DependencyService.getDependencyIds(long artifactId,
ScopeType artifactType,
int startIndex,
int maxResult)
Get all dependency ids for specific artifact
|
SDependency |
DependencyService.getDependencyOfArtifact(long artifactId,
ScopeType artifactType,
String fileName) |
Optional<Long> |
DependencyService.getIdOfDependencyOfArtifact(Long artifactId,
ScopeType artifactType,
String fileName) |
void |
DependencyService.refreshClassLoader(ScopeType type,
long id)
refresh classloader on this node only
|
void |
DependencyService.refreshClassLoaderAfterUpdate(ScopeType type,
long id)
Refresh classloader after a dependency update
difference with #refreshClassLoader is that this one is done on all nodes and after transaction
Multiple call to this method will have no effects, it will only register the refresh to be done after the transaction.
|
SDependency |
DependencyService.updateDependencyOfArtifact(String name,
byte[] jarContent,
String fileName,
long artifactId,
ScopeType scopeType) |
| Modifier and Type | Field and Description |
|---|---|
protected ScopeType |
AbstractRefreshClassLoaderTask.scopeType |
| Modifier and Type | Method and Description |
|---|---|
SDependency |
PlatformDependencyServiceImpl.createMappedDependency(String name,
byte[] jarContent,
String fileName,
long artifactId,
ScopeType scopeType) |
SDependency |
DependencyServiceImpl.createMappedDependency(String name,
byte[] jarContent,
String fileName,
long artifactId,
ScopeType scopeType) |
void |
AbstractDependencyService.deleteDependencies(long id,
ScopeType type) |
List<Long> |
AbstractDependencyService.getDependencyIds(long artifactId,
ScopeType artifactType,
int startIndex,
int maxResult) |
SDependency |
PlatformDependencyServiceImpl.getDependencyOfArtifact(long artifactId,
ScopeType artifactType,
String fileName) |
SDependency |
DependencyServiceImpl.getDependencyOfArtifact(long artifactId,
ScopeType artifactType,
String fileName) |
Optional<Long> |
PlatformDependencyServiceImpl.getIdOfDependencyOfArtifact(Long artifactId,
ScopeType artifactType,
String fileName) |
Optional<Long> |
DependencyServiceImpl.getIdOfDependencyOfArtifact(Long artifactId,
ScopeType artifactType,
String fileName) |
protected AbstractRefreshClassLoaderTask |
PlatformDependencyServiceImpl.getRefreshClassLoaderTask(ScopeType type,
long id) |
protected AbstractRefreshClassLoaderTask |
DependencyServiceImpl.getRefreshClassLoaderTask(ScopeType type,
long id) |
protected abstract AbstractRefreshClassLoaderTask |
AbstractDependencyService.getRefreshClassLoaderTask(ScopeType type,
long id) |
void |
PlatformDependencyServiceImpl.refreshClassLoader(ScopeType type,
long id) |
void |
DependencyServiceImpl.refreshClassLoader(ScopeType type,
long id) |
void |
AbstractDependencyService.refreshClassLoaderAfterUpdate(ScopeType type,
long id) |
SDependency |
PlatformDependencyServiceImpl.updateDependencyOfArtifact(String name,
byte[] jarContent,
String fileName,
long artifactId,
ScopeType scopeType) |
SDependency |
DependencyServiceImpl.updateDependencyOfArtifact(String name,
byte[] jarContent,
String fileName,
long artifactId,
ScopeType scopeType) |
| Constructor and Description |
|---|
AbstractRefreshClassLoaderTask(long id,
ScopeType scopeType) |
RefreshClassloaderSynchronization(AbstractDependencyService dependencyService,
org.bonitasoft.engine.service.BonitaTaskExecutor bonitaTaskExecutor,
UserTransactionService userTransactionService,
org.bonitasoft.engine.service.BroadcastService broadcastService,
SessionAccessor sessionAccessor,
AbstractRefreshClassLoaderTask callable,
Long tenantId,
ScopeType scopeType,
Long scopeId) |
RefreshClassLoaderTask(ScopeType scopeType,
long id) |
RefreshPlatformClassLoaderTask(ScopeType scopeType,
long id) |
| Modifier and Type | Method and Description |
|---|---|
ScopeType |
SDependencyMapping.getArtifactType() |
static ScopeType |
ScopeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType[] |
ScopeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
SPlatformDependencyMappingBuilder |
SPlatformDependencyMappingBuilderFactory.createNewInstance(long dependencyId,
long artifactId,
ScopeType artifactType) |
SDependencyMappingBuilder |
SDependencyMappingBuilderFactory.createNewInstance(long dependencyId,
long artifactId,
ScopeType artifactType) |
SDependencyBuilder |
SDependencyBuilderFactory.createNewInstance(String name,
long artifactId,
ScopeType artifactType,
String fileName,
byte[] value) |
| Modifier and Type | Method and Description |
|---|---|
SPlatformDependencyMappingBuilder |
SPlatformDependencyMappingBuilderFactoryImpl.createNewInstance(long dependencyId,
long artifactId,
ScopeType artifactType) |
SDependencyMappingBuilder |
SDependencyMappingBuilderFactoryImpl.createNewInstance(long dependencyId,
long artifactId,
ScopeType artifactType) |
SDependencyBuilder |
SDependencyBuilderFactoryImpl.createNewInstance(String name,
long artifactId,
ScopeType artifactType,
String fileName,
byte[] value) |
| Modifier and Type | Method and Description |
|---|---|
ScopeType |
SPlatformDependencyMappingImpl.getArtifactType() |
ScopeType |
SDependencyMappingImpl.getArtifactType() |
| Modifier and Type | Method and Description |
|---|---|
void |
SPlatformDependencyMappingImpl.setArtifactType(ScopeType artifactType) |
void |
SDependencyMappingImpl.setArtifactType(ScopeType artifactType) |
| Constructor and Description |
|---|
SDependencyMappingImpl(long artifactId,
ScopeType artifactType,
long dependencyId) |
SPlatformDependencyMappingImpl(long artifactId,
ScopeType artifactType,
long dependencyId) |
Copyright © 2019 Bonitasoft S.A.. All rights reserved.