Interface RunnableSchedulingItem

  • All Superinterfaces:
    IdentifiableRemote, java.rmi.Remote, TptRemote

    public interface RunnableSchedulingItem
    extends IdentifiableRemote
    An AUTOSAR runnable that can be scheduling in the AUTOSAR platform in TPT
    Author:
    Copyright (c) 2014-2024 Piketec GmbH - MIT License (MIT) - All rights reserved
    • Method Detail

      • getName

        java.lang.String getName()
                          throws java.rmi.RemoteException
        Returns:
        The name of the runnable
        Throws:
        java.rmi.RemoteException - remote communication problem
      • isAutomaticScheduling

        boolean isAutomaticScheduling()
                               throws java.rmi.RemoteException
        Returns:
        If true the runnable will be scheduled automatically in the generated test frame. If false a client function will be imported for this runnable so that it can be called explicitly.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setAutomaticScheduling

        void setAutomaticScheduling​(boolean automaticScheduling)
                             throws java.rmi.RemoteException
        Configure if this runnable shall be scheduled automatically or a client function for explicit scheduling shall be imported.
        Parameters:
        automaticScheduling - If true the runnable will be scheduled automatically in the generated test frame. If false a client function will be imported for this runnable so that it can be called explicitly.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getPeriods

        java.util.List<java.lang.String> getPeriods()
                                             throws java.rmi.RemoteException
        Get the periods to be used for this runnable.
        Returns:
        The periods for this runnable
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setPeriods

        void setPeriods​(java.util.List<java.lang.String> period)
                 throws java.rmi.RemoteException
        Get the periods to be used for this runnable.
        Parameters:
        period - The periods for this runnable
        Throws:
        java.rmi.RemoteException - remote communication problem
      • isOnlyOnEntry

        boolean isOnlyOnEntry()
                       throws java.rmi.RemoteException
        Returns:
        True if this runnable is configured to be execured only on entry, false otherwise.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setOnlyOnEntry

        void setOnlyOnEntry​(boolean onlyOnEntry)
                     throws java.rmi.RemoteException
        Configure if a scheuled runnable shall be executed only on entry.
        Parameters:
        onlyOnEntry - True if this runnable shall be execured only on entry, false otherwise
        Throws:
        java.rmi.RemoteException - remote communication problem