public class ConversionConfiguration extends Object
This is intended to be set up, and be enduring over multiple CoT conversions.
Constructor and Description |
---|
ConversionConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getPlatformType()
Get the CoT platform type.
|
String |
getPlatformUidFallback()
Get a fallback value for the Platform uid string.
|
String |
getPlatformUidOverride()
Get an override value for the Platform
uid string. |
String |
getSensorSuffixFallback()
Get the fallback value for sensor UID suffix.
|
String |
getSensorUidOverride()
Get an override value for the Sensor
uid string. |
long |
getStalePeriod()
Get the stale time.
|
void |
setPlatformType(String platformType)
Set the CoT platform type.
|
void |
setPlatformUidFallback(String uid)
Set the fallback value for the Platform
uid . |
void |
setPlatformUidOverride(String uid)
Set the override value for the Platform
uid . |
void |
setSensorSuffixFallback(String suffix)
Set the fallback value for sensor UID suffix.
|
void |
setSensorUidOverride(String uid)
Set the override value for the Sensor
uid . |
void |
setStalePeriod(long stalePeriod)
Set the stale time.
|
public String getPlatformType()
public void setPlatformType(String platformType)
Examples are "a-f-A-M-F" for atom-friendly-Air AOB-Military-Fixed Wing, or "a-f-A-M-F-Q" for a UAV variant of that. Substitute "H" for "F" to represent rotary wing. See the CoT "event.xml" list for options, of which there are many.
platformType
- the platform type as String.public long getStalePeriod()
This is the time after the valid time at which the message is no longer valid.
public void setStalePeriod(long stalePeriod)
This is the time after the valid time at which the message is no longer valid.
stalePeriod
- the stale period in microseconds.public String getPlatformUidOverride()
uid
string.public void setPlatformUidOverride(String uid)
uid
.uid
- the platform uid.public String getSensorUidOverride()
uid
string.public void setSensorUidOverride(String uid)
uid
.uid
- the platform uid.public String getPlatformUidFallback()
public void setPlatformUidFallback(String uid)
uid
.uid
- the platform uid, not null.public String getSensorSuffixFallback()
This provides a fallback suffix for the sensor UID construction. It does not provide the whole UID, but instead will be added to the platform UID fallback if the image source sensor value is not available.
public void setSensorSuffixFallback(String suffix)
This provides a fallback suffix for the sensor UID construction. It does not provide the whole UID, but instead will be added to the platform UID fallback if the image source sensor value is not available.
suffix
- the fallback sensor identifierCopyright © 2022 West Ridge Systems. All rights reserved.