///
///
///
///
///
///
///
///
///
///
declare namespace Integration {
function configureAboutPage(aboutService: About.AboutService): void;
}
declare namespace ActiveMQ {
const pluginName: string;
const log: Logging.Logger;
const jmxDomain: string;
function retrieveQueueNames(workspace: Jmx.Workspace, ascend: boolean): string[];
function retrieveTopicNames(workspace: Jmx.Workspace, ascend: boolean): string[];
/**
* Sets $scope.row to currently selected JMS message.
* Used in:
* - activemq/js/browse.ts
* - camel/js/browseEndpoint.ts
*
* TODO: remove $scope argument and operate directly on other variables. but it's too much side effects here...
*
* @param message
* @param key unique key inside message that distinguishes between values
* @param $scope
*/
function selectCurrentMessage(message: any, key: string, $scope: any): void;
/**
* - Adds functions needed for message browsing with details
* - Adds a watch to deselect all rows after closing the slideout with message details
* TODO: export these functions too?
*
* @param $scope
* @param fn optional function to call if the selected row was changed
*/
function decorate($scope: any, fn?: any): void;
function getBrokerMBean(workspace: Jmx.Workspace, jolokia: any, jmxDomain: string): any;
}
declare namespace ActiveMQ {
class DestinationController {
private $scope;
private workspace;
private $location;
private jolokia;
private localStorage;
amqJmxDomain: any;
message: string;
destinationName: string;
destinationType: string;
createDialog: boolean;
deleteDialog: boolean;
purgeDialog: boolean;
constructor($scope: any, workspace: Jmx.Workspace, $location: ng.ILocationService, jolokia: Jolokia.IJolokia, localStorage: Storage);
private operationSuccess;
private deleteSuccess;
private validateDestinationName;
private isQueue;
private checkIfDestinationExists;
validateAndCreateDestination(name: string, destinationType: string): void;
private createDestination;
/**
* When destination name contains "_" like "aaa_bbb", the actual name might be either
* "aaa_bbb" or "aaa:bbb", so the actual name needs to be checked before removal.
* @param name destination name
*/
private restoreRealDestinationName;
deleteDestination(): void;
purgeDestination(): void;
selectedName(): string;
uncapitalisedDestinationType(): string;
}
}
declare namespace ActiveMQ {
const createDestinationComponent: angular.IComponentOptions;
const deleteQueueComponent: angular.IComponentOptions;
const deleteTopicComponent: angular.IComponentOptions;
}
declare namespace ActiveMQ {
const destinationModule: string;
}
declare namespace ActiveMQ {
class TreeController {
private $scope;
private $location;
private workspace;
private $element;
constructor($scope: any, $location: ng.ILocationService, workspace: Jmx.Workspace, $element: JQuery);
$onInit(): void;
private updateSelectionFromURL;
private populateTree;
private removeTree;
}
}
declare namespace HawtioTree {
function getMaxTreeLevel(tree: any): number;
}
declare namespace ActiveMQ {
class TreeHeaderController {
private $scope;
private $element;
filter: string;
result: any[];
constructor($scope: any, $element: JQuery);
$onInit(): void;
private search;
private tree;
expandAll(): any;
contractAll(): any;
}
}
declare namespace ActiveMQ {
const treeHeaderComponent: angular.IComponentOptions;
const treeComponent: angular.IComponentOptions;
}
declare namespace ActiveMQ {
const treeModule: string;
const treeElementId = "#activemqtree";
}
declare namespace ActiveMQ {
const activeMQComponent: angular.IComponentOptions;
}
declare namespace ActiveMQ {
class ActiveMQNavigationService {
private workspace;
constructor(workspace: Jmx.Workspace);
getTabs(): Nav.HawtioTab[];
private shouldShowBrowseTab;
private shouldShowSendTab;
private shouldShowDurableSubscribersTab;
private shouldShowJobsTab;
private shouldShowCreateTab;
private shouldShowDeleteTopicTab;
private shouldShowDeleteQueueTab;
private shouldShowQueuesTab;
private shouldShowTopicsTab;
private isQueue;
private isTopic;
private isQueuesFolder;
private isTopicsFolder;
private isJobScheduler;
private isBroker;
private getBroker;
}
}
declare namespace ActiveMQ {
class ActiveMQNavigationController {
private $location;
private activeMQNavigationService;
tabs: Nav.HawtioTab[];
constructor($scope: ng.IScope, $location: ng.ILocationService, activeMQNavigationService: ActiveMQNavigationService);
$onInit(): void;
goto(tab: Nav.HawtioTab): void;
}
const activeMQNavigationComponent: angular.IComponentOptions;
}
declare namespace ActiveMQ {
const _module: angular.IModule;
}
declare namespace Camel {
class Context {
name: string;
state: string;
mbeanName: string;
selected: boolean;
constructor(name: string, state: string, mbeanName: string);
isStarted(): boolean;
isSuspended(): boolean;
}
}
declare namespace Camel {
class ContextsService {
private jolokiaService;
private treeService;
constructor(jolokiaService: JVM.JolokiaService, treeService: Jmx.TreeService);
getContexts(): ng.IPromise;
getContext(mbeanName: string): ng.IPromise;
startContext(context: Context): ng.IPromise;
startContexts(contexts: Context[]): ng.IPromise;
suspendContext(context: Context): ng.IPromise;
suspendContexts(contexts: Context[]): ng.IPromise;
stopContext(context: Context): ng.IPromise;
stopContexts(contexts: Context[]): ng.IPromise;
executeOperationOnContext(operation: string, context: Context): ng.IPromise;
executeOperationOnContexts(operation: string, contexts: Context[]): ng.IPromise;
}
}
declare namespace Camel {
class ContextsController {
private $timeout;
private $uibModal;
private workspace;
private contextsService;
private startAction;
private suspendAction;
private deleteAction;
toolbarConfig: {
actionsConfig: {
primaryActions: {
name: string;
actionFn: (action: any) => void;
isDisabled: boolean;
}[];
moreActions: {
name: string;
actionFn: (action: any) => void;
isDisabled: boolean;
}[];
};
isTableView: boolean;
};
tableConfig: {
selectionMatchProp: string;
onCheckBoxChange: (item: any) => void;
};
tableColumns: {
header: string;
itemField: string;
}[];
contexts: Context[];
showTable: boolean;
constructor($timeout: ng.ITimeoutService, $uibModal: any, workspace: Jmx.Workspace, contextsService: ContextsService);
$onInit(): void;
private getSelectedContexts;
private enableDisableActions;
private updateContexts;
private removeSelectedContexts;
private repaintTable;
}
const contextsComponent: angular.IComponentOptions;
}
declare namespace Camel {
class ContextActionsController {
private $scope;
private $uibModal;
private workspace;
private contextsService;
context: Context;
unsubscribe: any;
constructor($scope: any, $uibModal: any, workspace: Jmx.Workspace, contextsService: ContextsService);
$onInit(): void;
$onDestroy(): void;
start(): void;
suspend(): void;
delete(): void;
}
const contextActionsComponent: angular.IComponentOptions;
}
declare namespace Camel {
const contextsModule: string;
}
declare namespace Camel {
class AddConditionalBreakpointModalController {
private debugService;
close: () => void;
resolve: {
nodeId: string;
};
conditionalBreakpoint: ConditionalBreakpoint;
error: string;
constructor(debugService: DebugService);
add(): void;
}
const addConditionalBreakpointModal: angular.IComponentOptions;
}
declare namespace Camel {
function DebugController($scope: any, $element: any, workspace: Jmx.Workspace, jolokia: Jolokia.IJolokia, localStorage: Storage, documentBase: string, $uibModal: any): void;
}
declare namespace Camel {
class DebugService {
private workspace;
private jolokiaService;
constructor(workspace: Jmx.Workspace, jolokiaService: JVM.JolokiaService);
addConditionalBreakpoint(conditionalBreakpoint: ConditionalBreakpoint): ng.IPromise;
}
}
declare namespace Camel {
const debugModule: string;
}
declare namespace Pf {
function filter(items: T[], filterConfig: any): T[];
}
declare namespace Camel {
class EndpointsStatisticsService {
private jolokiaService;
private treeService;
constructor(jolokiaService: JVM.JolokiaService, treeService: Jmx.TreeService);
getStatistics(): ng.IPromise;
}
}
declare namespace Camel {
class EndpointsStatisticsController {
private endpointsStatisticsService;
allItems: any[];
filteredItems: any[];
toolbarConfig: {
filterConfig: {
fields: {
id: string;
title: string;
placeholder: string;
filterType: string;
}[];
onFilterChange: (filters: any[]) => void;
appliedFilters: any[];
resultsCount: number;
};
isTableView: boolean;
};
tableConfig: {
selectionMatchProp: string;
showCheckboxes: boolean;
};
tableDtOptions: {
order: (string | number)[][];
};
tableColumns: {
itemField: string;
header: string;
}[];
constructor(endpointsStatisticsService: EndpointsStatisticsService);
$onInit(): void;
}
const endpointsStatisticsComponent: angular.IComponentOptions;
}
declare namespace Camel {
const endpointsStatisticsModule: string;
}
declare namespace Camel {
class Endpoint {
uri: string;
state: string;
mbean: string;
constructor(uri: string, state: string, mbean: string);
}
}
declare namespace Camel {
class EndpointsService {
private $q;
private jolokiaService;
private workspace;
constructor($q: ng.IQService, jolokiaService: JVM.JolokiaService, workspace: Jmx.Workspace);
getEndpoints(): ng.IPromise;
canCreateEndpoints(): boolean;
}
}
declare namespace Camel {
class EndpointsController {
private $location;
private endpointsService;
private addAction;
toolbarConfig: {
actionsConfig: {
primaryActions: {
name: string;
actionFn: (action: any) => void;
isDisabled: boolean;
}[];
};
isTableView: boolean;
};
tableConfig: {
selectionMatchProp: string;
showCheckboxes: boolean;
};
tableDtOptions: {
order: (string | number)[][];
};
tableColumns: {
header: string;
itemField: string;
}[];
endpoints: Endpoint[];
constructor($location: ng.ILocationService, endpointsService: EndpointsService);
$onInit(): void;
}
const endpointsComponent: angular.IComponentOptions;
}
declare namespace Camel {
const endpointsModule: string;
}
declare namespace Camel {
const exchangesComponent: angular.IComponentOptions;
}
declare namespace Camel {
class ExchangesService {
private jolokiaService;
private treeService;
private workspace;
constructor(jolokiaService: JVM.JolokiaService, treeService: Jmx.TreeService, workspace: Jmx.Workspace);
getInflightExchanges(): ng.IPromise;
getBlockedExchanges(): ng.IPromise;
private getExchanges;
unblockExchange(exchange: any): angular.IPromise;
}
}
declare namespace Camel {
class InflightExchangesController {
private $timeout;
private exchangesService;
readonly reloadDelay = 10000;
exchanges: any[];
promise: ng.IPromise;
constructor($timeout: ng.ITimeoutService, exchangesService: ExchangesService);
$onInit(): void;
$onDestroy(): void;
loadDataPeriodically(): void;
cancelTimer(): void;
}
const inflightExchangesComponent: angular.IComponentOptions;
}
declare namespace Camel {
class BlockedExchangesController {
private $timeout;
private $uibModal;
private exchangesService;
readonly reloadDelay = 10000;
exchanges: any[];
promise: ng.IPromise;
constructor($timeout: ng.ITimeoutService, $uibModal: any, exchangesService: ExchangesService);
$onInit(): void;
$onDestroy(): void;
loadDataPeriodically(): void;
cancelTimer(): void;
unblock(exchange: any): void;
}
const blockedExchangesComponent: angular.IComponentOptions;
}
declare namespace Camel {
const confirmUnblockExchangeComponent: angular.IComponentOptions;
}
declare namespace Camel {
const exchangesModule: string;
}
declare namespace JVM {
class JolokiaService {
private $q;
private jolokia;
constructor($q: ng.IQService, jolokia: Jolokia.IJolokia);
getMBean(objectName: string): ng.IPromise;
getMBeans(objectNames: string[]): ng.IPromise;
getAttribute(objectName: string, attribute: string): ng.IPromise;
getAttributes(objectName: string, attributes: string[]): ng.IPromise