public static class InfoflowConfiguration.SourceSinkConfiguration extends Object
| 构造器和说明 |
|---|
SourceSinkConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
InfoflowConfiguration.CallbackSourceMode |
getCallbackSourceMode()
Sets under which circumstances the parameters of callback methods shall be
treated as sources.
|
boolean |
getEnableLifecycleSources()
Gets whether the parameters of lifecycle methods shall be considered as
sources
|
InfoflowConfiguration.LayoutMatchingMode |
getLayoutMatchingMode()
Gets the mode to be used when deciding whether a UI control is a source or
not
|
InfoflowConfiguration.SourceSinkFilterMode |
getSinkFilterMode()
Gets the default mode for handling sinks that have not been configured
explicitly
|
InfoflowConfiguration.SourceSinkFilterMode |
getSourceFilterMode()
Gets the default mode for handling sources that have not been configured
explicitly
|
int |
hashCode() |
void |
merge(InfoflowConfiguration.SourceSinkConfiguration ssConfig)
Copies the settings of the given configuration into this configuration object
|
void |
setCallbackSourceMode(InfoflowConfiguration.CallbackSourceMode callbackSourceMode)
Sets under which circumstances the parameters of callback methods shall be
treated as sources.
|
void |
setEnableLifecycleSources(boolean enableLifecycleSources)
Sets whether the parameters of lifecycle methods shall be considered as
sources
|
void |
setLayoutMatchingMode(InfoflowConfiguration.LayoutMatchingMode mode)
Sets the mode to be used when deciding whether a UI control is a source or
not
|
void |
setSinkFilterMode(InfoflowConfiguration.SourceSinkFilterMode sinkFilterMode)
Sets the default mode for handling sinks that have not been configured
explicitly
|
void |
setSourceFilterMode(InfoflowConfiguration.SourceSinkFilterMode sourceFilterMode)
Sets the default mode for handling sources that have not been configured
explicitly
|
public void merge(InfoflowConfiguration.SourceSinkConfiguration ssConfig)
iccConfig - The other configuration objectpublic void setSourceFilterMode(InfoflowConfiguration.SourceSinkFilterMode sourceFilterMode)
sourceFilterMode - The default mode for handling sources that have not
been configured explicitlypublic InfoflowConfiguration.SourceSinkFilterMode getSinkFilterMode()
public void setSinkFilterMode(InfoflowConfiguration.SourceSinkFilterMode sinkFilterMode)
sourceFilterMode - The default mode for handling sinks that have not
been configured explicitlypublic void setCallbackSourceMode(InfoflowConfiguration.CallbackSourceMode callbackSourceMode)
callbackSourceMode - The strategy for deciding whether a certain
callback parameter is a data flow source or notpublic InfoflowConfiguration.CallbackSourceMode getCallbackSourceMode()
public void setEnableLifecycleSources(boolean enableLifecycleSources)
enableLifecycleSoures - True if the parameters of lifecycle methods
shall be considered as sources, otherwise falsepublic boolean getEnableLifecycleSources()
public void setLayoutMatchingMode(InfoflowConfiguration.LayoutMatchingMode mode)
mode - The mode to be used for classifying UI controls as sourcespublic InfoflowConfiguration.LayoutMatchingMode getLayoutMatchingMode()
public InfoflowConfiguration.SourceSinkFilterMode getSourceFilterMode()
Copyright © 2022 Fraunhofer SIT. All rights reserved.