public class OfflineHubService extends Object implements HubService
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZEDCOMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT| Constructor and Description |
|---|
OfflineHubService() |
| Modifier and Type | Method and Description |
|---|---|
HubChangeLog |
createChangeLog(HubChangeLog hubChangeLog) |
Connection |
createConnection(Connection connection) |
Operation |
createOperation(String operationType,
HubChangeLog changeLog,
Connection connection) |
Project |
createProject(Project project) |
Connection |
getConnection(Connection exampleConnection,
boolean createIfNotExists) |
List<Connection> |
getConnections(Connection exampleConnection) |
HubChangeLog |
getHubChangeLog(UUID changeLogId) |
HubUser |
getMe() |
Organization |
getOrganization() |
int |
getPriority() |
Project |
getProject(UUID projectId) |
List<Project> |
getProjects() |
boolean |
isOnline() |
void |
sendOperationChangeEvent(OperationChangeEvent operationChangeEvent) |
void |
sendOperationChanges(OperationChange operationChange) |
OperationEvent |
sendOperationEvent(Operation operation,
OperationEvent operationEvent) |
void |
setRanChangeSets(Connection connectionId,
List<RanChangeSet> ranChangeSets) |
public int getPriority()
getPriority in interface PrioritizedServicepublic boolean isOnline()
isOnline in interface HubServicepublic HubUser getMe() throws LiquibaseHubException
getMe in interface HubServiceLiquibaseHubExceptionpublic Organization getOrganization() throws LiquibaseHubException
getOrganization in interface HubServiceLiquibaseHubExceptionpublic List<Project> getProjects() throws LiquibaseHubException
getProjects in interface HubServiceLiquibaseHubExceptionpublic Project getProject(UUID projectId) throws LiquibaseHubException
getProject in interface HubServiceLiquibaseHubExceptionpublic void setRanChangeSets(Connection connectionId, List<RanChangeSet> ranChangeSets) throws LiquibaseHubException
setRanChangeSets in interface HubServiceLiquibaseHubExceptionpublic Connection getConnection(Connection exampleConnection, boolean createIfNotExists) throws LiquibaseHubException
getConnection in interface HubServiceLiquibaseHubExceptionpublic List<Connection> getConnections(Connection exampleConnection) throws LiquibaseHubException
getConnections in interface HubServiceLiquibaseHubExceptionpublic Connection createConnection(Connection connection) throws LiquibaseHubException
createConnection in interface HubServiceLiquibaseHubExceptionpublic HubChangeLog createChangeLog(HubChangeLog hubChangeLog) throws LiquibaseException
createChangeLog in interface HubServiceLiquibaseExceptionpublic Project createProject(Project project) throws LiquibaseException
createProject in interface HubServiceLiquibaseExceptionpublic HubChangeLog getHubChangeLog(UUID changeLogId) throws LiquibaseHubException
getHubChangeLog in interface HubServiceLiquibaseHubExceptionpublic Operation createOperation(String operationType, HubChangeLog changeLog, Connection connection) throws LiquibaseHubException
createOperation in interface HubServiceLiquibaseHubExceptionpublic OperationEvent sendOperationEvent(Operation operation, OperationEvent operationEvent) throws LiquibaseException
sendOperationEvent in interface HubServiceLiquibaseExceptionpublic void sendOperationChangeEvent(OperationChangeEvent operationChangeEvent) throws LiquibaseException
sendOperationChangeEvent in interface HubServiceLiquibaseExceptionpublic void sendOperationChanges(OperationChange operationChange) throws LiquibaseHubException
sendOperationChanges in interface HubServiceLiquibaseHubExceptionCopyright © 2020 Liquibase.org. All rights reserved.