Class ChannelAttributes
java.lang.Object
com.elpical.jclaro.admin.ws.server.ChannelAttributes
This class holds some general Channel Attributes available to all types of Channels
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor, no values are automatically filledChannelAttributes(int channelType)
Constructor which sets the correct channel typeChannelAttributes(com.elpical.jclaro.database.entities.ClaroChannel aChannel, HashMap<String,String> theClaroChannelPreferences)
-
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
Returns the Group the Channel belongs to or null if it's not part of a GroupgetName()
The name of the Channelint
Returns the priority of the Channel.int
getType()
The type of the Channel: ChannelType_NotDefined = 0 ChannelType_ImageProcessing = 1 ChannelType_RoutingChannel = 2 ChannelType_DeviceLink = 3 ChannelType_Purging = 4 ChannelType_Cropping = 5boolean
boolean
boolean
boolean
Determines the sharpness from the high resolution image instead of using a lower resolution imageboolean
boolean
void
save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel, boolean isNewChannel)
void
setCreateTestBlueMask(boolean set)
void
setCreateTestGreenMask(boolean set)
void
setCreateTestSkinMask(boolean set)
void
Sets the Group the Channel belongs tovoid
Sets the name of the Channelvoid
setPriority(int priority)
Sets the priority of the Channel.void
setQualityOptimised(boolean qualityOptimised)
Sets whether to use the high resolution image instead of using a lower resolution image for sharpness detectionvoid
setTestAutoCrop(boolean testAutoCrop)
void
setTestBetaFeatures(boolean testBetaFeatures)
void
setType(int type)
Sets the type of the Channel
-
Constructor Details
-
ChannelAttributes
public ChannelAttributes()Empty constructor, no values are automatically filled -
ChannelAttributes
public ChannelAttributes(int channelType)Constructor which sets the correct channel type- Parameters:
channelType
- The type of Channel ChannelType_NotDefined = 0 ChannelType_ImageProcessing = 1 ChannelType_RoutingChannel = 2 ChannelType_DeviceLink = 3 ChannelType_Purging = 4 ChannelType_Cropping = 5
-
ChannelAttributes
-
-
Method Details
-
getName
The name of the Channel- Returns:
- The name of the Channel
-
setName
Sets the name of the Channel- Parameters:
name
- The name of the Channel
-
getPriority
public int getPriority()Returns the priority of the Channel. Number from 0 - 100. The higher the value, the higher the priority- Returns:
- The priority of the Channel. Number from 0 - 100. The higher the value, the higher the priority
-
setPriority
public void setPriority(int priority)Sets the priority of the Channel. Number from 0 - 100. The higher the value, the higher the priority- Parameters:
priority
- The priority of the Channel. Number from 0 - 100. The higher the value, the higher the priority
-
isQualityOptimised
public boolean isQualityOptimised()Determines the sharpness from the high resolution image instead of using a lower resolution image- Returns:
- Whether to use the high resolution image instead of using a lower resolution image for sharpness detection
-
setQualityOptimised
public void setQualityOptimised(boolean qualityOptimised)Sets whether to use the high resolution image instead of using a lower resolution image for sharpness detection- Parameters:
qualityOptimised
- Whether to use the high resolution image instead of using a lower resolution image for sharpness detection
-
isTestAutoCrop
public boolean isTestAutoCrop() -
setTestAutoCrop
public void setTestAutoCrop(boolean testAutoCrop) -
isTestBetaFeatures
public boolean isTestBetaFeatures() -
setTestBetaFeatures
public void setTestBetaFeatures(boolean testBetaFeatures) -
getType
public int getType()The type of the Channel: ChannelType_NotDefined = 0 ChannelType_ImageProcessing = 1 ChannelType_RoutingChannel = 2 ChannelType_DeviceLink = 3 ChannelType_Purging = 4 ChannelType_Cropping = 5- Returns:
- The type of the Channel
-
setType
public void setType(int type)Sets the type of the Channel- Parameters:
type
- The type of the Channel ChannelType_NotDefined = 0 ChannelType_ImageProcessing = 1 ChannelType_RoutingChannel = 2 ChannelType_DeviceLink = 3 ChannelType_Purging = 4 ChannelType_Cropping = 5
-
getGroup
Returns the Group the Channel belongs to or null if it's not part of a Group- Returns:
- The Group the Channel belongs to or null if it's not part of a Group
-
setGroup
Sets the Group the Channel belongs to- Parameters:
group
- The Group the Channel belongs to
-
isCreateTestGreenMask
public boolean isCreateTestGreenMask() -
setCreateTestGreenMask
public void setCreateTestGreenMask(boolean set) -
isCreateTestBlueMask
public boolean isCreateTestBlueMask() -
setCreateTestBlueMask
public void setCreateTestBlueMask(boolean set) -
isCreateTestSkinMask
public boolean isCreateTestSkinMask() -
setCreateTestSkinMask
public void setCreateTestSkinMask(boolean set) -
save
public void save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel, boolean isNewChannel)
-