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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
java.util.List<java.lang.String>
getPeriods()
Get the periods to be used for this runnable.boolean
isAutomaticScheduling()
boolean
isOnlyOnEntry()
void
setAutomaticScheduling(boolean automaticScheduling)
Configure if this runnable shall be scheduled automatically or a client function for explicit scheduling shall be imported.void
setOnlyOnEntry(boolean onlyOnEntry)
Configure if a scheuled runnable shall be executed only on entry.void
setPeriods(java.util.List<java.lang.String> period)
Get the periods to be used for this runnable.-
Methods inherited from interface com.piketec.tpt.api.IdentifiableRemote
getIdentifier
-
-
-
-
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
-
-