public class OnlineHubService extends Object implements HubService
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZEDCOMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT| Constructor and Description |
|---|
OnlineHubService() |
public liquibase.hub.core.HttpClient createHttpClient()
public int getPriority()
getPriority in interface PrioritizedServicepublic boolean isOnline()
isOnline in interface HubServicepublic boolean isHubAvailable()
public String getApiKey()
public HubUser getMe() throws LiquibaseHubException
getMe in interface HubServiceLiquibaseHubExceptionpublic Organization getOrganization() throws LiquibaseHubException
getOrganization in interface HubServiceLiquibaseHubExceptionpublic Project getProject(UUID projectId) throws LiquibaseHubException
getProject in interface HubServiceLiquibaseHubExceptionpublic List<Project> getProjects() throws LiquibaseHubException
getProjects in interface HubServiceLiquibaseHubExceptionpublic Project createProject(Project project) throws LiquibaseException
createProject in interface HubServiceLiquibaseExceptionpublic HubChangeLog createChangeLog(HubChangeLog hubChangeLog) throws LiquibaseException
createChangeLog in interface HubServiceLiquibaseExceptionpublic void setRanChangeSets(Connection connection, 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 HubServiceLiquibaseHubExceptionprotected Date parseDate(String stringDate) throws ParseException
ParseExceptionpublic Connection createConnection(Connection connection) throws LiquibaseHubException
createConnection in interface HubServiceLiquibaseHubExceptionpublic HubChangeLog getHubChangeLog(UUID changeLogId) throws LiquibaseHubException
getHubChangeLog in interface HubServicechangeLogId - Changelog ID for queryLiquibaseHubExceptionpublic Operation createOperation(String operationType, HubChangeLog changeLog, Connection connection) throws LiquibaseHubException
createOperation in interface HubServiceLiquibaseHubExceptionprotected Map<String,String> getCleanOperationParameters(Map<String,String> originalParams)
public 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.