Module glasswall.content_management.switches.archive

Expand source code
from glasswall.content_management.switches.switch import Switch


class bmp(Switch):
    """ An ArchiveManager bmp switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class doc(Switch):
    """ An ArchiveManager doc switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class docx(Switch):
    """ An ArchiveManager docx switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class elf(Switch):
    """ An ArchiveManager elf switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class emf(Switch):
    """ An ArchiveManager emf switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class gif(Switch):
    """ An ArchiveManager gif switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class jpeg(Switch):
    """ An ArchiveManager jpeg switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class mp3(Switch):
    """ An ArchiveManager mp3 switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class mp4(Switch):
    """ An ArchiveManager mp4 switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class mpg(Switch):
    """ An ArchiveManager mpg switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class o(Switch):
    """ An ArchiveManager o switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class pdf(Switch):
    """ An ArchiveManager pdf switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class pe(Switch):
    """ An ArchiveManager pe switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class png(Switch):
    """ An ArchiveManager png switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class ppt(Switch):
    """ An ArchiveManager ppt switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class pptx(Switch):
    """ An ArchiveManager pptx switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class tiff(Switch):
    """ An ArchiveManager tiff switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class txt(Switch):
    """ An ArchiveManager txt switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class wav(Switch):
    """ An ArchiveManager wav switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class wmf(Switch):
    """ An ArchiveManager wmf switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class xls(Switch):
    """ An ArchiveManager xls switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)


class xlsx(Switch):
    """ An ArchiveManager xlsx switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Classes

class bmp (value: str)

An ArchiveManager bmp switch.

Expand source code
class bmp(Switch):
    """ An ArchiveManager bmp switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class doc (value: str)

An ArchiveManager doc switch.

Expand source code
class doc(Switch):
    """ An ArchiveManager doc switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class docx (value: str)

An ArchiveManager docx switch.

Expand source code
class docx(Switch):
    """ An ArchiveManager docx switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class elf (value: str)

An ArchiveManager elf switch.

Expand source code
class elf(Switch):
    """ An ArchiveManager elf switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class emf (value: str)

An ArchiveManager emf switch.

Expand source code
class emf(Switch):
    """ An ArchiveManager emf switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class gif (value: str)

An ArchiveManager gif switch.

Expand source code
class gif(Switch):
    """ An ArchiveManager gif switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class jpeg (value: str)

An ArchiveManager jpeg switch.

Expand source code
class jpeg(Switch):
    """ An ArchiveManager jpeg switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class mp3 (value: str)

An ArchiveManager mp3 switch.

Expand source code
class mp3(Switch):
    """ An ArchiveManager mp3 switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class mp4 (value: str)

An ArchiveManager mp4 switch.

Expand source code
class mp4(Switch):
    """ An ArchiveManager mp4 switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class mpg (value: str)

An ArchiveManager mpg switch.

Expand source code
class mpg(Switch):
    """ An ArchiveManager mpg switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class o (value: str)

An ArchiveManager o switch.

Expand source code
class o(Switch):
    """ An ArchiveManager o switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class pdf (value: str)

An ArchiveManager pdf switch.

Expand source code
class pdf(Switch):
    """ An ArchiveManager pdf switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class pe (value: str)

An ArchiveManager pe switch.

Expand source code
class pe(Switch):
    """ An ArchiveManager pe switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class png (value: str)

An ArchiveManager png switch.

Expand source code
class png(Switch):
    """ An ArchiveManager png switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class ppt (value: str)

An ArchiveManager ppt switch.

Expand source code
class ppt(Switch):
    """ An ArchiveManager ppt switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class pptx (value: str)

An ArchiveManager pptx switch.

Expand source code
class pptx(Switch):
    """ An ArchiveManager pptx switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class tiff (value: str)

An ArchiveManager tiff switch.

Expand source code
class tiff(Switch):
    """ An ArchiveManager tiff switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class txt (value: str)

An ArchiveManager txt switch.

Expand source code
class txt(Switch):
    """ An ArchiveManager txt switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class wav (value: str)

An ArchiveManager wav switch.

Expand source code
class wav(Switch):
    """ An ArchiveManager wav switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class wmf (value: str)

An ArchiveManager wmf switch.

Expand source code
class wmf(Switch):
    """ An ArchiveManager wmf switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class xls (value: str)

An ArchiveManager xls switch.

Expand source code
class xls(Switch):
    """ An ArchiveManager xls switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members

class xlsx (value: str)

An ArchiveManager xlsx switch.

Expand source code
class xlsx(Switch):
    """ An ArchiveManager xlsx switch. """

    def __init__(self, value: str):
        self.name = self.__class__.__name__
        self.restrict_values = ["no_action", "discard", "process"]
        self.value = value
        super().__init__(name=self.name, value=self.value, restrict_values=self.restrict_values)

Ancestors

Inherited members