org.glassfish.paas.orchestrator.provisioning.cli
Class CollectServiceLogFiles
java.lang.Object
org.glassfish.paas.orchestrator.provisioning.cli.CollectServiceLogFiles
- All Implemented Interfaces:
- AdminCommand
@Service(name="collect-service-log-files")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value=DAS)
@TargetType(value=DAS)
public class CollectServiceLogFiles
- extends Object
- implements AdminCommand
|
Method Summary |
void |
execute(AdminCommandContext context)
Main function which is used to collect log records for given appName or serviceName
First, validates data if missing values then give appropriate error to user
Second, if appName is not null then get all services used by that app and download logs from those services and
copying log data to DAS. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appInfoRegistry
protected PaaSAppInfoRegistry appInfoRegistry
orchestrator
protected ServiceOrchestratorImpl orchestrator
CollectServiceLogFiles
public CollectServiceLogFiles()
execute
public void execute(AdminCommandContext context)
- Main function which is used to collect log records for given appName or serviceName
First, validates data if missing values then give appropriate error to user
Second, if appName is not null then get all services used by that app and download logs from those services and
copying log data to DAS. if serviceName is not null then download logs from that service and copying data to DAS.
- Specified by:
execute in interface AdminCommand
- Parameters:
context -
Copyright © 2012. All Rights Reserved.