Skip to content

Commit

Permalink
Fixed categories of some methods.
Browse files Browse the repository at this point in the history
Push-up printOn: on `OperationPlugin` hierarchy
  • Loading branch information
gcotelli committed Jan 30, 2020
1 parent 31e9da8 commit 08625ec
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,3 @@ ApplicationInfoPlugin >> initializeGatheringAll: enabledInformationProviderNames
select: [ :provider | enabledInformationProviderNames includes: provider providerName ]
thenCollect: [ :providerClass | providerClass new ]
]

{ #category : #printing }
ApplicationInfoPlugin >> printOn: stream [

stream nextPutAll: self name
]
6 changes: 0 additions & 6 deletions source/Stargate-HealthCheck/HealthCheckPlugin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,6 @@ HealthCheckPlugin >> initializeRunningAll: aHealthCheckCollection [
healthChecks := aHealthCheckCollection
]

{ #category : #printing }
HealthCheckPlugin >> printOn: stream [

stream nextPutAll: self name
]

{ #category : #actions }
HealthCheckPlugin >> runHealthChecks [

Expand Down
10 changes: 2 additions & 8 deletions source/Stargate-Metrics/MetricsPlugin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,13 @@ MetricsPlugin >> initializeGatheringAll: enabledMetricNames [
thenCollect: [ :providerClass | providerClass new ]
]

{ #category : #printing }
MetricsPlugin >> printOn: stream [

stream nextPutAll: self name
]

{ #category : #initialize }
{ #category : #controlling }
MetricsPlugin >> startOn: teapotServer [

metricProviders do: [ :provider | provider installOn: teapotServer ]
]

{ #category : #initialize }
{ #category : #controlling }
MetricsPlugin >> stop [

metricProviders do: #uninstall
Expand Down
12 changes: 9 additions & 3 deletions source/Stargate-Model/OperationalPlugin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,19 @@ OperationalPlugin >> includeControllersIn: api [
self subclassResponsibility
]

{ #category : #acccessing }
{ #category : #accessing }
OperationalPlugin >> name [

^ self class pluginName
]

{ #category : #accessing }
{ #category : #printing }
OperationalPlugin >> printOn: stream [

stream nextPutAll: self name
]

{ #category : #controlling }
OperationalPlugin >> startOn: teapotServer [

"This method is called when the server is started, giving
Expand All @@ -97,7 +103,7 @@ OperationalPlugin >> startOn: teapotServer [

]

{ #category : #accessing }
{ #category : #controlling }
OperationalPlugin >> stop [

"This method is called when the server is stopped, giving
Expand Down

0 comments on commit 08625ec

Please sign in to comment.