Class NodeScan

  • All Implemented Interfaces:
    RunInBatch, Scan

    public class NodeScan
    extends java.lang.Object
    implements Scan
    • Method Detail

      • getForeignSource

        public java.lang.String getForeignSource()

        getForeignSource

        Returns:
        a String object.
      • getForeignId

        public java.lang.String getForeignId()

        getForeignId

        Returns:
        a String object.
      • getNodeId

        public java.lang.Integer getNodeId()

        getNodeId

        Returns:
        a Integer object.
      • getScanStamp

        public java.util.Date getScanStamp()

        getScanStamp

        Returns:
        a Date object.
      • getProvisionService

        public ProvisionService getProvisionService()

        getProvisionService

        Returns:
        the provisionService
      • getEventForwarder

        public EventForwarder getEventForwarder()

        getEventForwarder

        Returns:
        the eventForwarder
      • isAborted

        public boolean isAborted()

        isAborted

        Returns:
        a boolean.
      • abort

        public void abort​(java.lang.String reason)

        abort

        Parameters:
        reason - a String object.
      • loadNode

        public void loadNode​(BatchTask loadNode)

        loadNode

        Parameters:
        loadNode - a BatchTask object.
      • createAgentScan

        public NodeScan.AgentScan createAgentScan​(java.net.InetAddress agentAddress,
                                                  java.lang.String agentType)

        createAgentScan

        Parameters:
        agentAddress - a InetAddress object.
        agentType - a String object.
        Returns:
        a NodeScan.AgentScan object.
      • toString

        public java.lang.String toString()

        toString

        Overrides:
        toString in class java.lang.Object
        Returns:
        a String object.
      • detectAgents

        public void detectAgents​(BatchTask currentPhase)

        detectAgents

        Parameters:
        currentPhase - a BatchTask object.
      • handleAgentUndetected

        public void handleAgentUndetected​(BatchTask currentPhase)

        handleAgentUndetected

        Parameters:
        currentPhase - a BatchTask object.
      • scanCompleted

        public void scanCompleted​(BatchTask currentPhase)

        scanCompleted

        Parameters:
        currentPhase - a BatchTask object.