class ShutdownPolicyJob extends VisorJob<ShutdownPolicyCommandArg, ShutdownPolicyTaskResult> {
        /** Serial version id. */
        private static final long serialVersionUID = 0L;

        /** Logger. */
        @LoggerResource
        private IgniteLogger log;

        /**
         * Constructor of job.
         *
         * @param arg Argumants.
         * @param debug True if debug mode enable.
         */
        protected ShutdownPolicyJob(ShutdownPolicyCommandArg arg, boolean debug) {
            super(arg, debug);
        }

        /** {@inheritDoc} */
        @Override protected ShutdownPolicyTaskResult run(ShutdownPolicyCommandArg arg) throws IgniteException {<FILL_FUNCTION_BODY>}
    }

            ShutdownPolicyTaskResult res = new ShutdownPolicyTaskResult();

            if (arg.shutdownPolicy() != null)
                ignite.cluster().shutdownPolicy(arg.shutdownPolicy());

            res.setShutdown(ignite.cluster().shutdownPolicy());

            return res;
        
<methods>public non-sealed void <init>() <variables>