class PowerDownServerTask extends IpmiTask {

    @Override
    public void executeTask()
        throws Exception
    {
        try
        {
            ServiceServerNode serviceServerNode = (ServiceServerNode) node.getServiceObject();
            IBoardService boardService = BoardServiceProvider.getBoardService( serviceServerNode );
            if ( boardService != null )
            {
                // Object[] paramsArray = new Object[] { serviceServerNode,
                // PowerOperationAction.POWERDOWN };
                boolean status = boardService.powerOperations( serviceServerNode, PowerOperationAction.POWERDOWN );
                // boolean status =
                // HmsPluginServiceCallWrapper.invokeHmsPluginService(boardService,
                // serviceServerNode, "powerOperations", paramsArray);
            }
            else
            {
                throw new Exception( "Board Service is NULL for node:" + node.getNodeID() );
            }

        }
        catch ( HmsResourceBusyException e )
        {
            String error =
                String.format( "HMS Resource is Busy for the node [%s]. Please try after some time", node.getNodeID() );
            logger.debug( error, e );
            throw e;
        }
        catch ( Exception e )
        {
            throw new HmsException( "Error while triggering Power Down Server for Node:" + node.getNodeID(), e );
        }
    }

    public  PowerDownServerTask( TaskResponse response );

}