example.platform.power/src/example/platform/power/DebugCommands.java
@Descriptor("Simulates activity on a given PhysicalLink")
    public void simulateWakeActivity(
            @Descriptor("The PhysicalLink to simulate activity on")
            final PhysicalLink link)
    {
        final Map<String, Object> eventProps = new HashMap<>();
        eventProps.put("wakeSource", link);
        
        final Event physicalLinkActivityEvent = 
                new Event(ExamplePlatformKernel.TOPIC_WAKESOURCE_ACTIVITY_DETECTED_EVENT, 
                eventProps);
        m_EventAdmin.postEvent(physicalLinkActivityEvent);
    }
/**
     * Used to simulate activity on a particular {@link PhysicalLink}
     * @param link
     *      the {@link PhysicalLink} to simulate activity on.
     */
Used to simulate activity on a particular  PhysicalLink
@param link
the  PhysicalLink to simulate activity on.
Used to simulate activity on a particular PhysicalLink @param link the PhysicalLink to simulate activity on .
@Descriptor("Simulates activity on a given PhysicalLink")
    public void simulateWakeActivity(
            @Descriptor("The PhysicalLink to simulate activity on")
            final PhysicalLink link)
    {
        final Map<String, Object> eventProps = new HashMap<>();
        eventProps.put("wakeSource", link);
        final Event physicalLinkActivityEvent = 
                new Event(ExamplePlatformKernel.TOPIC_WAKESOURCE_ACTIVITY_DETECTED_EVENT, 
                eventProps);
        m_EventAdmin.postEvent(physicalLinkActivityEvent);
    }
@ Descriptor ( "Simulates activity on a given PhysicalLink" ) public void simulateWakeActivity ( @ Descriptor ( "The PhysicalLink to simulate activity on" ) final PhysicalLink link ) { final Map < String , Object > eventProps = new HashMap < > ( ) ; eventProps . put ( "wakeSource" , link ) ; final Event physicalLinkActivityEvent = new Event ( ExamplePlatformKernel . TOPIC_WAKESOURCE_ACTIVITY_DETECTED_EVENT , eventProps ) ; m_EventAdmin . postEvent ( physicalLinkActivityEvent ) ; }
Used to simulate activity on a particular {@link PhysicalLink}
 @param link
      the {@link PhysicalLink} to simulate activity on.
Used to simulate activity on a particular { @link PhysicalLink } @param link the { @link PhysicalLink } to simulate activity on .